Inventory
The Inventory defines the minting capacity of a NFT smart contract. A smart contract can have multiple active inventories at any time. The treatment is a bit different between ERC721 and ERC1155 compatible contracts. With ERC721 contracts, the inventory defines a number of tokens that can be minted, and possibly a start token id. This is useful to delineate batches in a presale, allow for separate airdrop ranges and the like. It also helps when minting units with preexisting serial numbers that are encoded in the token id. With ERC1155 contracts, the inventory specifies a specific token id, and a maximum quantity that can be minted. This is useful if the items you want to sell have no relevant identity.
Last updated
Was this helpful?