Reusable smart contracts for building DAOs on top of Casper.
Repository contains following modules:
dao
provides smart contracts implementation,dao-macros
makes writing code easier,
To generate rustdoc
execute the following:
just rebuild-docs
Live version: https://make-software.github.io/dao-contracts.
Rust
toolchain installed (see rustup.rs),cargo odra
installedcargo install --version 0.0.10 --force --locked cargo-odra
wasmstrip
tool installed (see wabt).wasm-opt
tool installed (see binaryen).just
tool installed (see just).wabt
installed (see wabt).
To prepare your environment execute:
just prepare
To build WASM
files execute:
just build-dao-contracts
Contracts will be located in the wasm/
folder.
To run integration tests execute:
just test