/uniswap-alpharouter-tutorial

Demonstrates how to use AlphaRouter to get optimal swap paths.

Primary LanguageTypeScriptMIT LicenseMIT

Uniswap V3 SDK AlphaRouter tutorial

Demonstrates how to use AlphaRouter to get optimal swap paths.

Change amount, tokenInAddr, tokenOutAddr parameters to customize.

Also, rename .env.example to .env and put your API URL from alchemy.com or other API provider.