🐧  pfp
🐧
@mintcloud
Can Frames support use cases that involve a token swap (buy token A with token B)? My 3 favorite ideas in the replies will get 20 USDC each @bountybot
4 replies
0 recast
0 reaction

Roshan PJ pfp
Roshan PJ
@rpj
Directly, no. If frame button clicks would be able to call smart contracts, then yes.
2 replies
0 recast
0 reaction

Roshan PJ pfp
Roshan PJ
@rpj
Somebody (an entity) should be able to withdraw your token, swap it on the smart contract, get the swapped token and transfer it to your farcaster wallet.
2 replies
0 recast
0 reaction

🐧  pfp
🐧
@mintcloud
Oh I was thinking of using something like 0x API to produce the calldata to be called by the wallet. The swap should be handled by that. One would need the allowance set on 0x contracts though
0 reply
0 recast
1 reaction