Understanding smart contracts
Smart contracts are programs deployed on the blockchain. Their functions are executed with transactions.
Starton allows you to access a collection of audited smart contracts covering most frequent use cases and needs. It currently includes flavours of the classic ERC20 (cryptocurrency), ERC721 and ERC1155 (NFT) smart contracts.
Smart contract templates
ERC20 - Creating your fungible token
The ERC20 is a smart contract standard made for fungible tokens (i.e: interchangeable tokens like coins).
|ERC20 Token with fixed supply||This meta-transaction version enables you to send transactions on behalf of your users so they can use their tokens without having to pay for gas fees.|
|ERC20 Token with mintable supply||This meta-transaction enables you to send transactions on behalf of your users so they can use their tokens without having to pay for gas fees.|
ERC721 - Deploy and sell your one-to-many NFTs
The ERC721 is a smart contract standard which is specialised in single-copy Non Fungible Tokens (NFT) and out-of-the-box compatible with Opensea. In an ERC721, every NFT is unique which means you have to reference the content for each NFT.
The ERC721 can still be used to upload several copies of the same content but is less optimised for this use case than the ERC1155.
|ERC721 NFT Smart Contract||The smart contract template to deploy single-copy NFTs.This version allows you to dissociate the wallet funding gas fees.|
|ERC721 NFT with limited supply||The capped ERC721 NFT smart contract template for single-copy Non Fungible Tokens (NFT).|
|ERC721 single-copy NFT Sale||This version enables you to sell NFTs.|
|ERC721 NFT Sale in an Auction||This version enables you to sell NFTs to the highest bider in a time slot.|
|ERC721 NFT Whitelist Sale||This version enables you to sell NFTs to approved addresses in a time slot.|
ERC1155 - Deploy and sell one-to-many NFTs
The ERC1155 is a smart contract standard which is specialised in multiple-copies Non Fungible Tokens (NFT) and out-of-the-box compatible with Opensea. The ERC1155 enables you to create “collections” containing several copies of the same NFT.
|ERC1155 NFTs collection||The smart contract standard to manage multiple-copies NFTs.|
|ERC1155 NFT Collection Sale||This version enables you to sell collections of NFTs.|
|ERC1155 NFT collection Sale in an Auction||This version enables you to sell collections of NFTs to the highest bider in a time slot.|
|ERC1155 NFT Whitelist Sale||This version enables you to sell NFT collections to approved addresses in a time slot.|
|Payment Splitter||The smart contract to split all payments between a list of users with a defined share for each of them. The sender is not aware that the payment is split. The contract handles the split in a transparent manner.|
- More on Transactions
- More on Smart Contracts
- More on Developer mode