@derpdex/universal-router-sdk
v1.1.0
Published
SDK for integrating with the Universal Router contracts
Downloads
5
Readme
universal-router-sdk
This SDK facilitates interactions with the contracts in Universal Router.
Getting Started
Install this SDK as below:
npm install @derpdex/universal-router-sdk
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