Network | Deployment |
---|---|
Goerli | 0xceEdACe70F46091986CA09Ac834362b74bC211F4 |
Mainnet | 0xceEdACe70F46091986CA09Ac834362b74bC211F4 |
Polygon | 0xceEdACe70F46091986CA09Ac834362b74bC211F4 |
yarn add -D create2-deployer
import {Deployer} from 'create2-deployer';
const signer = await ethers.getSigner(address);
const deployer = new Deployer(signer);
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