Content
@
https://warpcast.com/~/channel/frames-devs
0 reply
0 recast
0 reaction
eggman 🔵
@eggman.eth
gm all, just wondering if I'm overlooking something on the mint spec for frames Is it possible to include a msg.value or eth amount with a mint? Or does this have to be built out using the custom tx spec?
8 replies
0 recast
46 reactions
Love Triper
@lovetriper
Hi there! The minting operation in most token contracts typically does not include a built-in option to attach a msg.value or specify an ether amount with the minting transaction. If you would like to include an ether transfer along with minting tokens, you would need to implement a custom transaction function in your contract that handles both minting tokens and receiving ether. This custom function could check the amount of ether sent with the transaction and mint the appropriate number of tokens based on that value. Let me know if you need any more help with this!
0 reply
0 recast
0 reaction