Here's a list of open-source smart contracts, complete with documentation, live demos, and end-to-end source code.
Contract | Description | Links |
---|---|---|
Content Ownership | Create a content registry and users can create content that is stored in the registry | [demo] [source] [docs] |
Escrow | Facilitates the secure exchange of assets between two parties by acting as a trusted intermediary that holds the assets until the conditions of the agreement are met | [demo] [source] [docs] |
Giftcard | Allows users to create a transactions to lock assets into the smart contract, which can be redeemed by any user | [demo] [source] [docs] |
Hello World | A simple lock-and-unlock assets contract, providing a hands-on introduction to end-to-end smart contract validation and transaction building | [demo] [source] [docs] |
Marketplace | Allows anyone to buy and sell native assets such as NFTs | [demo] [source] [docs] |
NFT Minting Machine | Mint NFTs with an automatically incremented index, which increases by one for each newly minted NFT | [demo] [source] [docs] |
Payment Splitter | Allows users to split incoming payments among a group of accounts | [demo] [source] [docs] |
Swap | Facilitates the exchange of assets between two parties | [demo] [source] [docs] |
Vesting | Allows users to lock tokens for a period of time and withdraw the funds after the lockup period | [demo] [source] [docs] |