Content
@
https://warpcast.com/~/channel/devfc
0 reply
0 recast
0 reaction
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 ツ
@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
Rob Sanchez
@robrecht
you can get a swap quote for ETH but not gasless. on chain we do some potentially unnecessary wrapping and unwrapping because we haven't prioritized that work yet
0 reply
0 recast
1 reaction
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