@derpdex/universal-router-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

universal-router-sdk

This SDK facilitates interactions with the contracts in Universal Router.

npm version

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

Readme

Keywords

none

Package Sidebar

Install

npm i @derpdex/universal-router-sdk

Weekly Downloads

0

Version

1.1.0

License

none

Unpacked Size

886 kB

Total Files

41

Last publish

Collaborators

  • derpdex