JSPM

uniswap-v2-deploy-plugin

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q54220F
  • License MIT

Hardhat plugin for Uniswap V2 deployment

Package Exports

  • uniswap-v2-deploy-plugin

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-deploy-plugin) 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-deploy-plugin

Deploy the Uniswap V2 contracts in your hardhat development environment.

Despite Uniswap V3 being released, many projects across many different EVM compatible blockchains are still using the old V2 contracts. Developing against Uniswap V2, Sushiswap, Ubeswap, Pangolin, XxxSwap, etc has previously been painful, but no longer.

Installation

$ yarn add uniswap-v2-deploy-plugin

Import the plugin in your hardhat.config.js:

require("uniswap-v2-deploy-plugin");

Or if you are using TypeScript, in your hardhat.config.ts:

import "uniswap-v2-deploy-plugin";

Great! Now to deploy the contracts in your tests, checkout the swap.ts file to see how you'd use this plugin to ease your development process.