Reference Contracts
This page is dedicated to community tutorials and code repositories that provide helpful references for writing Secret Network contracts as well as building full-stack Secret Networks dApps.
Last updated
Was this helpful?
This page is dedicated to community tutorials and code repositories that provide helpful references for writing Secret Network contracts as well as building full-stack Secret Networks dApps.
Last updated
Was this helpful?
To master the SNIP-20 contract specifications, you can refer to these two key parts:
To master the SNIP-721 contract specifications for Non-Fungible Tokens (NFT), you can refer to these two key parts:
Here are some examples of additional Secret Contracts for reference:
- Winning projects from past Secret hackathons
- This is part of the . It is meant as an easy to understand first contract example that solves the Millionaire's Problem.
- Quick-start template to start developing Secret Contracts.
- Includes messages for frequently used permissioned functionality.
- Reference implementation of Secret Tokens.
- Reference Implementation of Private Multitokens.
- Reference implementation of Secret NFTs.
- Demonstrates how to use a parent contract to create offspring contracts.
- Example of a contract that can be uploaded to both secret and non-secret cosmwasm chains.
- Simple betting game on the outcome of a dice roll, with a video tutorial.
- Example of a voting contract.
- Template for launching NFT projects that need randomized minting.
- Verifies that an on-chain contract is indeed running a specific code. .
- A smart contract that receives tokens and distributes them to multiple addresses. .
- Get authorized to web3 places by proving you are the owner of an NFT. .
- A wallet that is collectively controlled by multiple accounts.
- Example how real-world data could be inserted on chain by validators.
.
- Demonstrates Vesting implementation
- These are the standard specifications and reference contract that implements the base standard required for fractionalized NFTs on Secret Network.