Deploy Uniswap V3 contracts in development.
$ npm install @uniswap/hardhat-v3-deployImport 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-uniswapAnd you're done. Time to build something great.
TODO