Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 784 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 784 Bytes

subDAO-contracts

Contracts for SubDAO, using ink!.

Using the pre-compiled contracts

If you just want to try these contracts, please use the pre-compiled contracts in release folder.

Build from source

install cargo-contract

reference here.

Warning!!
Please use version 0.8.0!

cargo install cargo-contract --vers 0.8.0 --force --locked

compile contracts

cargo +nightly contract build

install by polkadot.js apps

visit polkadot.js apps, and connect subDAO node. then Develpoer->Contract->upload WASM.

generate a new contract

cargo contract new test

build all contracts

./build.sh

the ABI and wasm copied in ./traget dir.