Skip to content

This repo is for easily deploying UniswapV3 contracts onto Hardhat's local network. The contracts deployed are Factory, SwapRouter, NFTDescriptor, NonfungibleTokenPositionDescriptor, and NonfungiblePositionManager. This allows for pool creation, initialization, minting liquidity, and swapping.

Notifications You must be signed in to change notification settings

gavin-anderson/UniswapV3-Local-Deploy

Repository files navigation

Hardhat Project

npm install
npx hardhat node //in terminal 1
npx hardhat run --network localhost scripts/01_deployContracts.js

Copy outputs and paste necessary parts into 03,04,05,06, and check files. rest of npm commands can be found at end of main function in every file.

Changes to be made, no more copy-paste just file read and write, update packages to reflect newer dependecies. Bytecode will fail if not "@uniswap/v3-periphery": "1.2.1" Also change the approvals.

About

This repo is for easily deploying UniswapV3 contracts onto Hardhat's local network. The contracts deployed are Factory, SwapRouter, NFTDescriptor, NonfungibleTokenPositionDescriptor, and NonfungiblePositionManager. This allows for pool creation, initialization, minting liquidity, and swapping.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published