HashLips / hashlips_nft_contract

A simple NFT smart contract that works with the rest of the HashLips ecosystem.
MIT License
832 stars 674 forks source link

Whitelist reset and Whitelist max mint amount #69

Open afflarium opened 2 years ago

afflarium commented 2 years ago

Hey. First of all, thank you for an excellent job!

I have 2 questions:

  1. How can I reset the whitelist after a mint is completed? I want to activate the whitelist several times, but the way it works now is that if a user has made a mint, then he can no longer mint from the same wallet (although the wallet is in the whitelist file and gets:

Execution reverted: Address already claimed!

whitelist-close and whitelist-open do not help.

I want to reset this so the user will be able to mint again using the same wallet.

  1. Is it possible to specify the maximum mint amount in the whitelist? or max mint amount is equal to maxMintAmountPerTx?

Please help. Thank you!

YikesMcSurfFace commented 1 year ago

Hey did you find the answer to this? I'd also like to know...

nfteeguy commented 1 year ago

Any solution to this? In my project I would like to have 2 presales - an OG whitelist and a presale whitelist. I was thinking of just using the whitelist feature for both sales, but you can't use the same wallet again once it has been used for the whitelist. Is there a way to reset it? Or can you think of a better way to do this?