Reference Contracts
Examples of reference Secret Contract implementations
  • (CW v0.10) Secret Template - Quick-start template to start developing Secret Contracts
  • (CW v0.10) SNIP-20 - Reference SNIP-20 contract implementation (Secret Tokens)
  • (CW v0.10) SNIP-721 - Reference SNIP-721 contract implementation (Secret NFTs)
  • (CW v0.10) Randomized NFT Minting - Template for launching NFT projects that need randomized minting
  • (CW v0.10) Secret Dice - Example of on-chain randomness based on encrypted inputs and state + video tutorial

CosmWasm V0.10

Template Contracts

snip721-reference-impl/src at master · baedrik/snip721-reference-impl
GitHub
Basic template for NFTs
GitHub - luminaryphi/secret-random-minting-snip721-impl: Random minting framework for Secret Network NFT projects
GitHub
NFT template that uses randomized minting
GitHub - TriviumNode/secret-contract-template: Skeleton template setup for making a smart contract on Secret
GitHub
Generalized skeleton template for smart contracts

Community Code Repositories

GitHub - SecretNetwork/secret-network-community-code-repositories: List of all community code repositories as outlined in the Secret Network Developer Committee Charter
GitHub
Library of example contract accomplishing specific functions (Community Code Repositories)

Open-Source Contracts

GitHub - baedrik/mystic-skulls
GitHub
Upgradable NFT project
GitHub - TriviumNode/cloak
GitHub
Private wallet gas seeding from BlackBox
GitHub - Secret-Dreamscape/contract
GitHub
Secret DreamScape game contract
GitHub - scrtlabs/SecretJack
GitHub
BlackJack game example
GitHub - scrtlabs/SecretSwap
GitHub
Front-running resistant AMM
GitHub - scrtlabs/secret-oracle
GitHub
Price Oracle example
GitHub - scrtlabs/SecretDice: A simple dice roll game implemented as a Secret Contract
GitHub
Simple example of a random-based dice game
GitHub - scrtlabs/SecretSimpleVote: A very simple voting contract
GitHub
Simple example of a voting contract
GitHub - scrtlabs/secret-vault: A contract that allows you to create private keys on-chain and sign data with secp256k1 signatures
GitHub
Example of storing a private key in a contract and providing permissioned access
GitHub - eshelB/decure: decentralized customer review platform
GitHub
A platform for reliable customer reviews and ratings on any business that accepts payment in SNIP-20 tokens
GitHub - scrtlabs/SecretHoldEm: A Texas hold 'em poker game implemented as a Secret Contract for the Secret Network
GitHub
Example of Head-up Texas Poker on Secret Network