1.1.0 • Published 10 months ago

@iguanadex/universal-router-sdk v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

universal-router-sdk

This SDK facilitates interactions with Universal Router. This repo is the pancakeswap variation of the original Universal-router-sdk by UniswapLabs. The PancakeSwap implementation makes the necessary changes in order to be compatible with the Pancakeswap smart-router and other existing SDK's.

Usage

Install latest version of universal-router-sdk. Then import the corresponding Trade class and Data object for each protocol you'd like to interact with.

npm add @iguanadex/universal-router-sdk
# or
yarn add @iguanadex/universal-router-sdk
# or
pnpm add @iguanadex/universal-router-sdk