-
How does the contract know that the specific token has not been already taken by another user? |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Aug 28, 2022
Replies: 1 comment 6 replies
-
Hello @alexkalen |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
alexkalen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @alexkalen
Well it depends on the contract, the Openzeppelin ones does check that with a function called
safe_mint
, which verifies exactly that in order to prevent it. I highly recommend you to give a check to the Openzeppelin docs in order to understand deeply how they prevent this problem.