description |
---|
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. |
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:
- HackSecret repositories - Winning projects from past Secret hackathons
- Millionaire's Problem - This is part of the Getting Started Guide. It is meant as an easy to understand first contract example that solves the Millionaire's Problem.
- Secret Template - Quick-start template to start developing Secret Contracts.
- Template with Viewing Keys and Permits - Includes messages for frequently used permissioned functionality.
- SNIP-20 - Reference implementation of Secret Tokens.
- SNIP-1155 - Reference Implementation of Private Multitokens.
- SNIP-721 - Reference implementation of Secret NFTs.
- Factory Contract Template - Demonstrates how to use a parent contract to create offspring contracts.
- Cross-Chain Contracts Demo - Example of a contract that can be uploaded to both secret and non-secret cosmwasm chains.
- Secret Dice - Simple betting game on the outcome of a dice roll, with a video tutorial.
- Simple Voting - Example of a voting contract.
- NFT Minting - Template for launching NFT projects that need randomized minting.
- Secret Contract Verifier - Verifies that an on-chain contract is indeed running a specific code. Frontend.
- Funds Forwarding - A smart contract that receives tokens and distributes them to multiple addresses. Frontend.
- NFT Authorization - Get authorized to web3 places by proving you are the owner of an NFT. Frontend.
- SNIP3 (Fixed Multisig) - A wallet that is collectively controlled by multiple accounts.
- Price Oracle - Example how real-world data could be inserted on chain by validators.
- Sealed Bid Auction.
- Token vesting contract - Demonstrates Vesting implementation
- Fractionalized NFTs - These are the standard specifications and reference contract that implements the base standard required for fractionalized NFTs on Secret Network.