JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 216872
  • Score
    100M100P100Q173490F
  • License GPL-3.0-or-later

🎛 Core contracts for the UniswapV2 protocol

Package Exports

  • @uniswap/v2-core/build/IUniswapV2ERC20.json
  • @uniswap/v2-core/build/IUniswapV2Factory.json
  • @uniswap/v2-core/build/IUniswapV2Pair.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uniswap/v2-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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