As hobby, I am trying to build a small website (using cardano db and nextjs) that would work as described :
- The website displays on its front page a "message" .
- The "message" is decided by the owner of pre-defined NFTs (NFT_A and NFT_B)
- During odd days, the "message" of NFT_A owner is displayed; (NFT_B for even days)
- "message" should be stored on cardano database and be easily retrievable from the NFT id
To achieve that, I am considering the following :
- "message" will be store as metadata in TX; (the "message" displayed should be the metada on the latest TX)
- The message will be retrived by using a blockfrost.io api call
Do you think this is the right approach ? do you have any remark ?
Thank you so much :)