Uniswap / hardhat-v3-deploy

Hardhat plugin for Uniswap V3 deployment
MIT License
78 stars 93 forks source link

@uniswap/hardhat-v3-deploy

Deploy Uniswap V3 contracts in development.

Installation

$ npm install @uniswap/hardhat-v3-deploy

Import the plugin in your hardhat.config.js:

require("@uniswap/hardhat-v3-deploy");

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

import "@uniswap/hardhat-v3-deploy";

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