To get started with this template:
-
Click the "Use this template" button to create a new repo based on this template
-
Update line 2 of
Cargo.toml
with your project name -
Update line 4 of
Cargo.toml
with your project author names -
Set up the prerequisites
-
Begin writing your smart contract in
src/lib.rs
-
Test the contract
cargo test -- --nocapture
-
Build the contract
RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release
Get more info at: