ERC-1155 NFT Collections
Almost there... stay tuned!
📰 Follow blockchain news for market insights.
The basic premise of lazy minting is that instead of creating an NFT directly on chain, the NFT creator makes a cryptographic signature of some data using their Ethereum account's private key.
The voucher contains important information that will go into the actual NFT, and it may optionally contain additional data that isn't recorded in the blockchain, as we'll see in a bit when we talk about prices.
When a buyer wants to purchase the NFT, they call a redeem function to redeem the signed voucher.
A voucher correspond to a single NFT Item, therefore the item has to be already created, you can create the NFT Item data from the backend using one of the following options:
To be able to Lazy Mint the first things you need is your collection already deployed and your Item created on the database
A voucher correspond to a single NFT item, therefore you create a signature for every item you want to Lazy Mint.
To create a voucher do the following steps
To replace a voucher simply sign a new voucher on the correspondent NFT Item, and the old voucher will be replaced
Vouchers cannot be removed, but you can replace the old voucher with a zero quantity voucher, this will avoid users to mint vouchers in the frontend.
When a voucher is minted the Lazy Mint button appears on the UI
The Lazy Mint button is a "Mint" button with the price in parentheses