Introduction to smart contracts
HyperMint provides three types of smart contracts:
- ERC-721 - A smart contract standard for NFTs (specifically, HyperMint complies with ERC-721a)
- ERC-1155 - A smart contract standard for NFTs
- Splitter Contracts - A smart contract for splitting up funds across multiple recipients
ERC-721/A
Key characteristics
- Non-fungible tokens representing ownership of arbitrary data.
- Only one NFT can reside in a single contract.
- Ideal for digital assets that represent one's immutable ownership of those assets (e.g. digital arts).
- ERC-721a is the highly gas-optimized implementation of the IERC721 standard.
- ERC-721a will batch mint several tokens for close to the cost of one.
ERC1155
Key characteristics
- Semi-fungible tokens categorized by token kind.
- Multiple NFTs can reside in a single contract.
- Tokens are tradable as fungible tokens; once redeemed, they are converted to non-fungible tokens.
- Ideal for gaming collectables and POAPs.
Key differences
It is important to understand your current and future use case before committing to a contract type as the contracts are not upgradable and can't be changed once deployed.
Category | ERC-721a | ERC-1155 |
---|---|---|
Fungibility | Non-Fungible only | Fungible and Non-Fungible |
Token Kind per Contract | Single | Multiple |
Token Supply | Limited | Effectively Unlimited |
Token Transfer | One at a time | One or multiple simultaneously |
Operational Efficiency | One operation per transaction | Multiple operations per transaction |
It is important to understand your current and future use case before committing to a contract type as the contracts are not upgradable and can't be changed once deployed.
Splitter contracts
Please note that splitter contracts are a separate category of contracts from ERC-721 and ERC-1155 as this is not a smart contract standard for NFTs. But this is a smart contract provided at your convenience to help split proceeds made from selling your NFT Collection. We have listed it here to show all the contracts HyperMint has to offer you.
Most marketplaces today don't have a way to easily split revenue and royalty among collection collaborators and HyperMint's splitter contracts are here to remedy that. Our splitter contracts, which can be used standalone or attached to a minting contract, provide the functionality to split proceeds (from minting and/or secondary royalties) to be split between multiple payees.
At this stage in the creation of your contract, we will focus on ERC721A and ERC1155. For learning more about splitter contracts and how to create one to link to your NFT Collection, see Proceeds and Royalties.
Updated 10 months ago