Content pfp
Content
@
0 reply
0 recast
0 reaction

✳️ dcposch on daimo pfp
✳️ dcposch on daimo
@dcposch.eth
Has anyone seen the Uniswap SDK return absolute garbage routes? Here's a trade where the Uni UI offers ~$710 Uni SDK on the exact same trade finds a terrible route that pays only ~$410! Then you query it a few more times and it finds the correct one.
9 replies
50 recasts
824 reactions

Joe Blau 🎩 pfp
Joe Blau 🎩
@joeblau
Traveling salesman problem is tough. How does Uniswap's SDK compare to this? Josh's code builds a bunch of USDC/DAI/USDT pairs between the `to` and `from` tokens if you enable multi-hop routes. https://github.com/joshstevens19/simple-uniswap-sdk
0 reply
0 recast
1 reaction

Rani pfp
Rani
@4484
use odos for best routes. or defillama swap.
1 reply
1 recast
3 reactions

kk pfp
kk
@king
v2 or v3?
1 reply
0 recast
0 reaction

greg pfp
greg
@gregfromstl
I didn’t know the sdk even found multi hop routes for you, thought you had to provide the route yourself
1 reply
0 recast
0 reaction

Greg pfp
Greg
@greg
fwiw I’ve found 0x/matcha easy to use and consitent https://0x.org/docs/0x-swap-api/introduction
0 reply
1 recast
3 reactions

abram pfp
abram
@abram
In our experience Uniswap SDK has been very not great. Feels like the SDK is not a revenue driver and thus it’s not maintained. cc @w
1 reply
0 recast
3 reactions

Daniel - Bountycaster pfp
Daniel - Bountycaster
@pirosb3
A little biased, but have you tried using the Matcha SDK for swapping? it's really simple to implement as it gives you the calldata for swapping directly
1 reply
0 recast
2 reactions

Thomas Mattimore pfp
Thomas Mattimore
@mattimost.eth
All routers still catching up from last six months. Base been especially bad because aero just getting integrated
0 reply
0 recast
0 reaction

Artur Bertash pfp
Artur Bertash
@arturbertash
Yeah, sometimes I have the same issue. Do not really get why the devs do not fix this issue. Maybe because the website itself is useless. It is the protocol they need to change, but it is really hard because all uni holders have to agree on the changes in the code. 🤔🤔🤔
0 reply
0 recast
0 reaction