Limit how many NFTs each wallet can claim for free.
With this contract, you can limit how many NFTs each wallet can claim for free.
You can upload your NFTs with the lazyMint
function or, more easily, using the Batch Upload functionality on thirdweb.
You can update the pricePerToken
at any time with setPricePerToken(_newPrice)
. (_newPrice
in WEI)
For claiming, you can call the claim
function with the quantity
and the Native Token Value of the NFTs you have to pay.
Example:
mintForFree
is set to 2.pricePerToken
is set to 0.1 ETH.claim(4)
with the Native Token Value of 0.2 ETH (or 2000000000000000000
WEI).Fix a bug in which funds were not getting sent to the primary sale recipient.
Feb 01, 2023
Apache-2.0, MIT