uniswap-v2-deploy-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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.

/uniswap-v2-deploy-plugin/

    Package Sidebar

    Install

    npm i uniswap-v2-deploy-plugin

    Weekly Downloads

    25

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    157 kB

    Total Files

    64

    Last publish

    Collaborators

    • alexbh