@p12/v2-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.5.9 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @p12/v2-sdk

Weekly Downloads

1

Version

1.5.9

License

MIT

Unpacked Size

494 kB

Total Files

38

Last publish

Collaborators

  • snowoftirisf
  • shallowgreen
  • sixian.yu
  • linchengzzz
  • jerrywang959