1.0.32 • Published 11 months ago

@pintswap3/universal-router-sdk v1.0.32

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

universal-router-sdk

This SDK facilitates interactions with Universal Router. This repo is the pintswap variation of the original Universal-router-sdk by UniswapLabs. The PinkSwap implementation makes the necessary changes in order to be compatible with the Pinkswap 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 @pintswap3/universal-router-sdk
# or
yarn add @pintswap3/universal-router-sdk
# or
pnpm add @pintswap3/universal-router-sdk