Cutting Supply of Existing Contract #91
-
Hello all! We are currently in the process of a mint, but are discussing cutting the supply. Aside from the obvious of closing the NFT sales with a command, is there a way to set a hard ceiling of minted NFTs in the contract, so one doesn't have to baby the contract until the amount desired is sold? Thanks! -Rovendoug |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Currently, it is not a feature. Feel free to submit a PR if you are interested in adding it. The way that I have done it in the past is edit the Similar to |
Beta Was this translation helpful? Give feedback.
Currently, it is not a feature. Feel free to submit a PR if you are interested in adding it. The way that I have done it in the past is edit the
tokens_left
function by subtracting some amount and then re-deploying. Clearly this isn't the best way, but I had been requested infrequently enough that I never added it to the contract itself.Similar to
nft_burn
. If you look in branches likerelease/x
, you can see examples of that. Another request I've gotten is to just draw from the raffle but not mint anything. This will have the same effect as burning since no one will be able to mint that token.