cargo contract build
cargo contract build --release
Export the path to substrate-contracts-node export CONTRACTS_NODE="/YOUR_PATH/substrate-contracts-node"
cargo test --features e2e-tests
cargo test
- install substrate-contracts-node https://github.com/paritytech/substrate-contracts-node
- run substrate-contracts-node locally
- launch ethier https://contracts-ui.substrate.io/ or https://polkadot.js.org/apps
- upload hold.contract
- interact with it throught the ui