Last updated
Multi-pool route encoding for swaps. Builds the calldata you ultimately send to a router contract.
npm install @kumbaya_xyz/router-sdkYou have a route (a sequence of pools) and need to turn it into calldata for SwapRouter02 or UniversalRouter.
You're aggregating routes from smart-order-router and need to execute them.
More reference coming soon. See
@kumbaya_xyz/smart-order-routerfor finding routes, and@kumbaya_xyz/universal-router-sdkfor executing through UniversalRouter specifically.
Last updated