Contract | Reference | Description |
---|---|---|
governance |
doc | Protocol's governance module |
shade_staking |
doc | Snip20 staker |
scrt_staking |
doc | SCRT staker |
treasury |
doc | Protocol's asset manager |
mint |
doc | Asset burner and minter |
oracle |
doc | Asset price querier |
airdrop |
doc | Task based, multichain snip20 airdropper |
-
Make sure Docker is installed
-
Pull the SN-testnet image
make server-download
- Open a terminal inside this repo and run:
make server-start
- Inside another terminal run:
make server-connect
Inside the container, go to /root/code and compile all the smart contracts:
make
Then test run all the Protocol unit-tests and integration tests using the tester:
make integration-tests
Each contract contains Rust unit and integration tests embedded within the contract source directories. You can run:
cargo unit-test