This gonna be a good question, may be …
This gonna be a good question, may be …
when you build a NFT marketplace smart contract you can sell and buy it, but how exactly you can get all the NFT’s that are listed to sell from anoters users ?, if you have more than 5 k of users that are using that smart contract to create NFT’s and put it in sell position, you can’t get all that NFT’s of that users using a “for loop”, because is gonna be “infinite time”, so i am asking my self that question this last month and i think the better idea for this is list all the NFT’s that are in selled position is to capture events using a “node”, but i am not so sure about his, because if the NFT change the position from “sell position” to “cancelled” how exactly you can handle that changes using a node when you retrive more of 5 k of NFT’s
¿ some one has the solution about this problem, or an idea ?
i hope you can understand, and thanks a lot for read