Skip to content

Cutting Supply of Existing Contract #91

Answered by willemneal
rovendoug asked this question in Q&A
Discussion options

You must be logged in to vote

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 like release/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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rovendoug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants