I started to play with Flow and Cadence and need some help understanding the architecture.
I want create NFTs of type NoobieNFT and give it away to my friends, who will in turn give it to their friends etc.
At any given point of time I would like to check who’s the owner of a specific NoobieNFT. If my understanding is correct, resources (like NoobieNFT) can’t have a unique address so the best I can think of is:
- assign a unique ID to each NoobieNFT
- emit event whenever someone passes on NoobieNFT
- have an external application that tracks the events that were emitted and knows who has which NoobieNFT. Alternatively I could scan entire blockchain for the NoobieNFT transfer event and search for the ID that I’m interested in each time I want to know, but it sounds like it could be a very slow operation.
Is this approach feasible?