1.5.9 • Published 2 years ago

@p12/v2-sdk v1.5.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@p12/v2-sdk

code style: prettier npm version

Forked from uniswap-sdk. Use with p12 contracts.

In-depth documentation on this SDK is available at uniswap.org.

Install

npm install @p12/v2-sdk

Run

To run the project, follow these steps. You must have at least node v10 and yarn installed.

First clone the repository:

git clone https://github.com/ProjectTwelve/v2-sdk.git

Move into the uniswap-sdk working directory

cd v2-sdk/

Install dependencies

yarn

Run tests

yarn test

Todo

src/constants.ts

  • ChainId
  • FACTORY_ADDRESS
  • INIT_CODE_HASH

entity/token.ts

  • WETH