@jishankai/uniswap-v2-core

Core contracts for the QuarkChain UniswapV2 protocol


Keywords
uniswap, ethereum, v2, core, uniswap-v2
License
CNRI-Python-GPL-Compatible
Install
npm install @jishankai/uniswap-v2-core@1.0.2

Documentation

Uniswap V2

Actions Status Version

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Deploy Contracts

vi .env
# PK = YOUR_PRIVATE_KEY
# FULLSHARDKEY = YOUR_FULLSHARD_KEY
node migrations/deploy_factory.js