Changing NFT Supply After Deployment. #26
-
Sorry if this is a silly question, but how would one change the total supply after the contract has been deployed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Currently the raffle data structure is set to an initial range. So there are three potential situations:
In all of these scenarios you also need to update the new |
Beta Was this translation helpful? Give feedback.
Currently the raffle data structure is set to an initial range. So there are three potential situations:
All the tokens have been minted. In this case you just need to create a new raffle with a range that starts at the end of the first. Then minting can resume as normal.
Not all tokens have been minted. There are two options: a) don't do anything until all tokens are minted and then return to 1. b) This one is currently tricky. You would need to update the raffle option to allow for two sets of possible ranges. It's possible, but takes some thought to do it correctly given the new probabilities.
No tokens have been minted. This is the easiest route and one that I assume the questio…