Waqas pfp
Waqas
@worqas
AI assisted coding gives you super powers if you know at least one language really well and understand the fundamentals. Like, I've never written a word of Solidity, but I can totally understand and debug it when AI writes it for me.
1 reply
0 recast
8 reactions

shazow pfp
shazow
@shazow.eth
Let me know if you'd like another quick pair of eyes. :) Worth going through articles like these (there's like a couple dozen of them) if you're doing anything with actual value: https://docs.soliditylang.org/en/latest/security-considerations.html
1 reply
0 recast
1 reaction

Waqas pfp
Waqas
@worqas
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