Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

create2-deployer

Package Overview
Dependencies
Maintainers
2
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create2-deployer

## Deployed Locations

Source
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

Create 2 Deployer

Deployed Locations

NetworkDeployment
Goerli0xceEdACe70F46091986CA09Ac834362b74bC211F4
Mainnet0xceEdACe70F46091986CA09Ac834362b74bC211F4
Polygon0xceEdACe70F46091986CA09Ac834362b74bC211F4

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

FAQs

Package last updated on 01 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts