Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/securesecrets/shade
Shade Protocol is an array of connected privacy-preserving dApps built on Secret Network
https://github.com/securesecrets/shade
Last synced: 4 days ago
JSON representation
Shade Protocol is an array of connected privacy-preserving dApps built on Secret Network
- Host: GitHub
- URL: https://github.com/securesecrets/shade
- Owner: securesecrets
- License: lgpl-3.0
- Created: 2021-06-09T20:57:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T03:55:51.000Z (9 months ago)
- Last Synced: 2024-03-07T01:37:39.161Z (8 months ago)
- Language: Rust
- Homepage: https://shadeprotocol.io/
- Size: 27.6 MB
- Stars: 65
- Watchers: 9
- Forks: 21
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-ccamel - securesecrets/shade - Shade Protocol is an array of connected privacy-preserving dApps built on Secret Network (Rust)
README
# Shade Protocol Core Contracts
| Contract | Reference | Description |
| --------------------------- | --------------------------------- | ------------------------------------- |
| [`governance`](./contracts/governance) | [doc](./contracts/governance/README.md) | Protocol's governance module |
| [`shade_staking`](./contracts/staking) | [doc](./contracts/staking/README.md) | Snip20 staker |
| [`scrt_staking`](./contracts/scrt_staking) | [doc](./contracts/scrt_staking/README.md) | SCRT staker |
| [`treasury`](./contracts/treasury) | [doc](./contracts/treasury/README.md) | Protocol's asset manager |
| [`mint`](./contracts/mint) | [doc](./contracts/mint/README.md) | Asset burner and minter |
| [`oracle`](./contracts/oracle) | [doc](./contracts/oracle/README.md) | Asset price querier |
| [`airdrop`](./contracts/airdrop) | [doc](./contracts/airdrop/README.md) | Task based, multichain snip20 airdropper |## Development Environment
### Environment Setup
1. Make sure [Docker](https://www.docker.com/) is installed
2. Pull the SN-testnet image
```shell
make server-download
```3. Open a terminal inside this repo and run:
```shell
make server-start
```4. Inside another terminal run:
```shell
make server-connect
```#### Testing the environment
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](packages/network_integration):
```shell
make integration-tests
```### Unit Tests
Each contract contains Rust unit and integration tests embedded within the contract source directories. You can run:
```sh
cargo unit-test
```