1 reply
0 recast
8 reactions
1 reply
0 recast
1 reaction
I have a ton of questions!
Right now I'm not doing anything high stakes.
My frame lets two people play a chess game, at the end you have an option to mint an NFT with the metadata of the game and players and a photo of final board position.
This is what I've figured out so far:
- when a game ends, ask user if they want to mint an NFT.
- if I want to charge exactly 0.1 USDC for the NFT, I calculate the current eth exchange rate off chain using some API (?) and then use that amount to initiate transaction.
- if yes, using Warpcast sdk, initiate transaction (this is on client side and prompts user to approve transaction).
- once approved, this transaction is directly sent to a smart contract.
- This contract then issues an NFT to the sender.
- Q: should I, can I, send metadata in the transaction that user send to the contract?
Or can I just issue a blank NFT initially, save that token address on my backend, and then update NFT metadata. Is it possible to update NFT metadata after minting? 1 reply
0 recast
1 reaction