1. Configuration

Configure the repo to the desired chain.

  1. Fork the v33-X GitHub repo:

  1. Copy the example .env file and run it in your terminal:

cp .env.example .env
  1. Edit the .env file with actual values

PRIVATE_KEY= private key of deployer wallet, can export from Metamask
SCAN_API_KEY= API key from block explorer of chain (eg. etherscan, polygonscan, etc.)
RPC_URL= Chain RPC URL from Alchemy (HTTPS API Key)
  1. Update chainID in hardhat.config.js to the chain you are deploying on.

  1. Run yarn to install packages:

yarn

Last updated