Kasra Rahjerdi
@jc4p
everytime you do a two step approve->transfer flow in a mini app you should ask yourself βis there a better way to do this?β β most of the time there is
6 replies
2 recasts
40 reactions
nicholas π§¨
@nicholas
permit2 right?
2 replies
0 recast
4 reactions
Topocount
@topocount.eth
π this is the correct answer. A gasless signature is the way to go, regardless of how smart your account is. If you want to abstract this away with @privy 's apis that's okay (where the wallet generates a signature without user interaction), but the permit2 ecosystem is the optimal mix of security and UX.
1 reply
0 recast
1 reaction
Kasra Rahjerdi
@jc4p
is this possible with the mini app ethProvider?
1 reply
0 recast
0 reaction