Kartik pfp
Kartik
@slokh
Added three new experimental actions to the mini apps SDK in time for Builders Day: - viewToken: navigate to a token page - swapToken: open swap form with pre-filled tokens - sendToken: open send form with pre-filled token & recipient https://miniapps.farcaster.xyz/docs/sdk/changelog
24 replies
56 recasts
334 reactions

wasyl pfp
wasyl
@wasyl
is `sendToken` going to be like a quick easier way to perform a typical token "transfer"? To replace usage with wagmi?
1 reply
0 recast
1 reaction

Kartik pfp
Kartik
@slokh
Yeah basically, it also: - renders a nicer preview in the client which makes it more trustable for users than arbitrary tx preview - has the ability to just pass in a recipientFid and we resolve the address Might be some other stuff we can automatically support in the future like cross chain sends that mini app devs don’t have to worry about implementing
1 reply
0 recast
2 reactions

wasyl pfp
wasyl
@wasyl
Hey @slokh running into an issue with this on Android warpcast app: - In my mini app, I prepare a transaction and call `sdk.experimental.sendToken(...)` with proper fields. - The 'send token' wallet slide up view shows "underneath" my mini app. So at first, it appeared like nothing happening. - After minimizing the mini app, I could then see the 'send tokens' wallet form view
1 reply
0 recast
0 reaction

Kartik pfp
Kartik
@slokh
Thanks for the report! Will fix in a bit
0 reply
0 recast
1 reaction