Hey guys can some one place help me with a worry I have.



If I want to give gift to my users because they own my nft but I want that only one gift can be given for each nft. That is once a gift has been claimed for an nft, that nft can no longer be used to claim that gift.

I know that I have to be able to keep track of each of the nft that was used to claim the reward

How can I go about coding this.

Thanks.

Oct 21, 2022, 3:29 PM
map the id to a boolean
Oct 21, 2022, 3:33 PM
Please how will this help me keep track
Thanks.
Could you please implement part of it in code
Oct 21, 2022, 3:47 PM
Bool flag, mapping id would work
Oct 21, 2022, 3:51 PM

© 2024 Draquery.com All rights reserved.