Content
@
0 reply
0 recast
0 reaction
✳️ 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 🎩
@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