Content pfp
Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction

horsefacts 🚂 pfp
horsefacts 🚂
@horsefacts.eth
Publishing an initial spec for a new frame "mint" action! This will allow clients that support relaying to show their equivalent of "Mint with Warps," and fall back to linking to the mint page URL. Feedback welcome! https://warpcast.notion.site/Frames-Mint-action-Public-cea0d2249e3e41dbafb2e9ab23107275
28 replies
22 recasts
137 reactions

emo.eth pfp
emo.eth
@emo.eth
how does the client know what to do when the user clicks the button?
2 replies
0 recast
0 reaction

horsefacts 🚂 pfp
horsefacts 🚂
@horsefacts.eth
By default it is literally just an external link. If you don't know what to do, send the user there. In the Warpcast case, we will check if the contract is a Zora mint and upgrade the button to "Mint with Warps." In the future, I can imagine fetching from something like the Mint Dot Fun API.
4 replies
0 recast
1 reaction

horsefacts 🚂 pfp
horsefacts 🚂
@horsefacts.eth
In our case, "Mint with Warps" currently only works with contracts that have something like `mintTo` (or an adapter). Other clients may have other relay models, it's up to them to figure out how the contract works and whether they want to enhance the button.
1 reply
0 recast
0 reaction

MOΞ pfp
MOΞ
@moe
Do you check if it's a zora mint just based on the url? Or another way from the contract address?
0 reply
0 recast
0 reaction

emo.eth pfp
emo.eth
@emo.eth
is the fallback link just the link to the frame itself
1 reply
0 recast
0 reaction

emo.eth pfp
emo.eth
@emo.eth
uri including fn selector could be pretty useful on its own (tho v evm specific)
1 reply
0 recast
1 reaction