thank you for your answer
I understand the advantages and drawbacks of the first method.
However for the second, I won't know who are the owner of which nfts. I could scan them all and read their data but that would cost potentially cost a lot of gas right?
You could map users to their NFTs in storage, it's not expensive. It's not necessarily in the spirit of ESDT, more similar to how you would do it on Ethereum, but then you have control over them and can destroy them at will.
You could map users to their NFTs in storage, it's not expensive. It's not necessarily in the spirit of ESDT, more similar to how you would do it on Ethereum, but then you have control over them and can destroy them at will.