1.0.16 • Published 1 year ago

@jkitcen/universal-router-sdk v1.0.16

Weekly downloads
-
License
-
Repository
github
Last release
1 year 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 @jkitcen/universal-router-sdk
# or
yarn add @jkitcen/universal-router-sdk
# or
pnpm add @jkitcen/universal-router-sdk