Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

USDT => USDC => AVAX, how can I do this swap by this SDK #101

Open
eastonqiu opened this issue May 26, 2022 · 3 comments
Open

USDT => USDC => AVAX, how can I do this swap by this SDK #101

eastonqiu opened this issue May 26, 2022 · 3 comments

Comments

@eastonqiu
Copy link

I know how to swap from A to B directly if the pool(A & B) exist.
but the pool not exist, but can use a best route, how can I do it.
For example USDT => USDC => AVAX

thanks.

@aUsABuisnessman
Copy link

uint c = a + b;
assert(c>=a & c>=b)

@staccDOTsol

This comment was marked as spam.

@staccDOTsol

This comment was marked as spam.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants