Shade Protocol is a decentralized, cross-chain, asset management protocol. It is designed to be a modular, composable, and extensible protocol that is the host to variety of asset management tools. The protocol is built on the Secret Network and is designed to be interoperable with other blockchains within the Cosmos Network using Inter Blockchain Protocol (IBC)
- Shade Swap - A decentralized, private, cross-chain, AMM-based DEX, built on the Secret Network
- Stable Swap - A decentralized, private, cross-chain, stablecoin swap protocol
- Derivative Swap - A decentralized, private, cross-chain, derivative swap protocol
- Shade Lending - A decentralized, private, cross-chain, lending protocol
- SILK - A decentralized, private, cross-chain, stablecoin.
- Shade Staking - A decentralized, private, cross-chain, staking protocol
- Shade Treasury - A decentralized, private, cross-chain, asset management protocol
- Shade Mint - A decentralized, private, cross-chain, asset minting and burning protocol
- Shade Oracle - A decentralized, private, cross-chain, asset price oracle
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
For further details about the security of the protocol, please refer to the Security document.
The Shade Protocol Core Contracts are licensed under the Apache License 2.0.