JSPM

uniswap-v2-deploy-plugin

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q54565F
  • 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 Uniswap V3 contracts in development.

Installation

$ npm install 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";

Now, run npm run hardhat and you should see:

AVAILABLE TASKS:

  accounts      	Prints the list of accounts
  ...
  deploy-uniswap	Deploys Uniswap V3 contracts
  ...
  test          	Runs mocha tests

Great! Now, to deploy the contracts:

$ npm run hardhat deploy-uniswap

And you're done. Time to build something great.

Plugin Development

TODO