Skip to content

kevupton/create2-deployer

Repository files navigation

Create 2 Deployer

Deployed Locations

Network Deployment
Goerli 0xceEdACe70F46091986CA09Ac834362b74bC211F4
Mainnet 0xceEdACe70F46091986CA09Ac834362b74bC211F4
Polygon 0xceEdACe70F46091986CA09Ac834362b74bC211F4

Installation

yarn add -D create2-deployer

Usage

import {Deployer} from 'create2-deployer';

const signer = await ethers.getSigner(address);
const deployer = new Deployer(signer);

Test Environment

Add to hardhat.config.ts

import 'create2-deployer/testing';

Example .env

# used in the network url
INFURA_API_KEY=

# the api key to verify smart contracts using
ETHERSCAN_API_KEY=

# all of the private keys used (mainly just deployer for now)
PRIVATE_KEY=

CONFIRMATIONS=6
GAS_PRICE_MULTIPLIER=1.5
CREATE2_DEBUG=true

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published