You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently deployed this dapp but I found a bug in which a user is able to mint multiple times even if the limit is set to 1 by refreshing or retrying the transaction before the original transaction has gone through successfully. This was also a whitelist mint and the user was still able to bypass the limit/claimed status.
I think it would be prudent to add a isUserClaiming/setIsUserClaiming function to the state of the dapp like you had done in your previous minting dapp config to prevent something like this from happening or at least disabling the button upon mint. A message that changes with this state like "Minting your NFT, please wait..." : "Congrats you successfully minted your NFT" would be a huge plus on the overall UX of the dapp as well.
Dapp Code Version: 2.3.0
The text was updated successfully, but these errors were encountered:
I recently deployed this dapp but I found a bug in which a user is able to mint multiple times even if the limit is set to 1 by refreshing or retrying the transaction before the original transaction has gone through successfully. This was also a whitelist mint and the user was still able to bypass the limit/claimed status.
I think it would be prudent to add a isUserClaiming/setIsUserClaiming function to the state of the dapp like you had done in your previous minting dapp config to prevent something like this from happening or at least disabling the button upon mint. A message that changes with this state like "Minting your NFT, please wait..." : "Congrats you successfully minted your NFT" would be a huge plus on the overall UX of the dapp as well.
Dapp Code Version: 2.3.0
The text was updated successfully, but these errors were encountered: