These documents pertain to standards for building on Secret Network.
- Review SNIP-0
- Fork the repository by clicking "Fork" in the top right.
- Add your SNIP to your fork of the repository. Here is a SNIP template.
- Submit a Pull Request here in the "SNIPs" repository.
Your first PR should be a first draft of the final SNIP. An editor will manually review the first PR for a new SNIP. If your SNIP requires images, the image files should be included in a subdirectory of the assets folder for that SNIP as follows: assets/your-snip-name. When linking to an image in the SNIP, use relative links such as ../assets/your-snip-name/image.png.
Make sure the 'author' line of your SNIP contains your GitHub username.
Here is a summary of the governance processes of Secret Network. We use an implementation of the Cosmos-SDK governance module for binding proposals rejected or approved through SCRT-weighted voting. Additionally, our community relies on various off-chain processes to coordinate the Secret Network community. We believe transparency and inclusivity help interconnected projects drive progress through collaboration. Ultimately, cooperation and trust are necessary for sustainability of our network and community.
Currently, Secret Foundation receives a percentage of SCRT inflation for various marketing and growth initiatives. Also, there is a community pool with funds managed collectively by supporters of the network.
- Signaling
- Community Spend
- Parameter Change
For a proposal to be considered for voting, a minimum deposit of 1000 SCRT must be deposited within 1 week from when the proposal was submitted. Any SCRT holder may contribute to this deposit to support proposals, meaning the party submitting the proposal doesn’t necessarily need to provide the deposit itself. The deposit is required as a kind of protection against spam. If the proposal does not reach the minimum deposit threshold, deposits are refunded. If the proposal is approved or if it is rejected WITHOUT a veto, deposits will automatically be refunded to their respective depositor. When a proposal is vetoed with a supermajority, deposits will be burned.
When the minimum deposit for a particular proposal is reached, the 1-week voting period begins. During this period, SCRT holders are able to cast their vote on that proposal. As mentioned, there are four voting options: Yes, No, NoWithVeto, and Abstain. Only staked tokens can participate in governance. Voting power is measured in terms of stake. The amount of SCRT you stake determines your influence on the decision. Delegators inherit the vote of the validators they are delegated to unless they cast their own vote, which will overwrite validator decisions.
Whether a proposal is accepted depends on the result of the coin voting by SCRT holders. The following requirements need to be satisfied for a proposal to be considered accepted:
- Quorum: More than 33.4% of the total staked tokens at the end of the voting period need to have participated.
- Threshold: More than 50% (after excluding Abstain votes) voted in favor of the proposal.
- No Veto: Less than 33.4% (after excluding Abstain votes) vetoed the decision.
Accepted proposals have to be implemented as part of the software that is run by validators in the network. Both community-spend and parameter-change proposals are implemented automatically. If a proposal is just offering direction (“signaling”), developers can build and pass it to the validators in order to upgrade the network.
If you're interested in learning more about Secret Network, you should check out Enigma's repository and our documentation site. Specifically, there is a page about how to participate in governance, and you can review past proposals on the Secret Explorer and Puzzle.
The Cosmos Hub GWG assembled this Cosmos-SDK parameters wiki and best practices for community-spend proposals.
Here is a blog post summarizing our collaboration with Confio building in parallel with CosmWasm. You might also refer to their collection of packages, including the cw20 token standard: https://github.com/CosmWasm/cosmwasm-plus
🚨 🚨 🚨
ThIs MeSsAgE wIlL NOT sElF-dEsTrUcT
🤫 🤫 🤫
Your mission, should you choose to accept it, is to join our governance committee and help us coordinate all the projects in the Secret Network ecosystem to accomplish our mission together.
Secret Chat | Blog | Twitter | Forum | Wiki