slokh
7mo
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
miniapps.farcaster.xyz/docs/sdk/cha...
26
31
155
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
0
2
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
0
0
but if I created the token wouldn't I need to make sure I am creating a pool with the supported dex?
Maybe there is more info in the docs lol.
1
0
0
so does this mean that if my website doesn't natively have tokens/swapping/wallet connect, I can start to do all of these things by referencing the mini app sdk?
Can you explain in less technical terms what this means? :)
1
0
0
cool! that's actually a big help for some of my plans.
how does this work with the wallet connection side of things? it's all run natively by the warpcast auth, provided someone is routing through the mini-app rather than the website directly?
1
0
1
very cool! so wallet.warpcast.com is a separate project built with expo router? Is it embedded into the main app?
1
0
0

