Introduction to smart contracts

HyperMint provides three types of smart contracts:

  1. ERC-721 - A smart contract standard for NFTs (specifically, HyperMint complies with ERC-721a)
  2. ERC-1155 - A smart contract standard for NFTs
  3. 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.

CategoryERC-721aERC-1155
FungibilityNon-Fungible onlyFungible and Non-Fungible
Token Kind per ContractSingleMultiple
Token SupplyLimitedEffectively Unlimited
Token TransferOne at a timeOne or multiple simultaneously
Operational EfficiencyOne operation per transactionMultiple 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.