@pancakeswap/universal-router-sdk
v1.0.39
Published
๐ An SDK for building applications on top of Pancakeswap.
Downloads
1,203
Keywords
Readme
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 @pancakeswap/universal-router-sdk
# or
yarn add @pancakeswap/universal-router-sdk
# or
pnpm add @pancakeswap/universal-router-sdk