Writing Contracts
When you created a new project via cargo contract new
, the contract is located in lib.rs
. You can use your favorite editor to write the contract.
Learn the Basics of ink!
ink! is a Rust-based eDSL for writing smart contracts. It is based on the Substrate framework and uses the Rust programming language to write smart contracts.
To learn more about ink!, check out the ink! documentation.
Using rust-bitcoin
note
TODO