@monoswap-labs/universal-router-sdk
v4.0.0
Published
sdk for integrating with the Universal Router contracts
Downloads
1
Readme
universal-router-sdk
This SDK facilitates interactions with the contracts in Universal Router
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.
Running this package
Make sure you are running node v16
Install dependencies and run typescript unit tests
yarn install
yarn test:hardhat
Run forge integration tests
yarn symlink # must install git submodules
forge install
yarn test:forge