🐧  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

Roshan PJ pfp
Roshan PJ
@rpj
But, the problem is that no "entity" can withdraw your token for you unless you provide approval to the smart contract, by doing a transaction, which is again not possible with frame button clicks.
0 reply
0 recast
1 reaction