Skip to main content

Smart Contract Lib

Here's a list of open-source smart contracts, complete with documentation, live demos, and end-to-end source code.

ContractDescriptionLinks
Content OwnershipCreate a content registry and users can create content that is stored in the registry[docs] [source]
EscrowFacilitates 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[docs] [source]
GiftcardAllows users to create a transactions to lock assets into the smart contract, which can be redeemed by any user[docs] [source]
Hello WorldA simple lock-and-unlock assets contract, providing a hands-on introduction to end-to-end smart contract validation and transaction building[docs] [source]
MarketplaceAllows anyone to buy and sell native assets such as NFTs[docs] [source]
NFT Minting MachineMint NFTs with an automatically incremented index, which increases by one for each newly minted NFT[docs] [source]
Payment SplitterAllows users to split incoming payments among a group of accounts[docs] [source]
SwapFacilitates the exchange of assets between two parties[docs] [source]
VestingAllows users to lock tokens for a period of time and withdraw the funds after the lockup period[docs] [source]