Contracts for SubDAO, using ink!.
If you just want to try these contracts, please use the pre-compiled contracts in release
folder.
reference here.
Warning!!
Please use version 0.8.0!
cargo install cargo-contract --vers 0.8.0 --force --locked
cargo +nightly contract build
visit polkadot.js apps, and connect subDAO node.
then Develpoer
->Contract
->upload WASM
.
cargo contract new test
./build.sh
the ABI and wasm copied in ./traget
dir.