Skip to content

w3f-grants-archive/subDAO-contracts

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •