Content pfp
Content
@
https://warpcast.com/~/channel/devfc
0 reply
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
does anyone have a good sample with error handling for swap modals? looking for one that includes - approvals - swap itself - no excessive SDK import/dependency Bonus: approval + swap in one TX bundled together
2 replies
2 recasts
14 reactions

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
@robrecht on 0x is there ETH instead of WETH possible? or does one always have to go to WETH first? https://github.com/0xProject/0x-examples/tree/main/swap-v2-next-app
2 replies
0 recast
6 reactions

Dudecaster pfp
Dudecaster
@dudecaster
I am using onchainkit transaction modal + 0x API for my mini app. 0x API does support native ETH swaps, see eg my agentkit PR: https://github.com/coinbase/agentkit/pull/681 https://warpcast.com/miniapps/Q6UcdjB0Hkmc/truecast
1 reply
0 recast
1 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
thank you!!! side note: Mantle networks doesn't have 0xeeee... as native token address, see https://0x.org/docs/0x-swap-api/advanced-topics/handling-native-tokens so that maybe an edge case if someone wanted to do something on mantle with the agent
1 reply
0 recast
1 reaction