1. Configuration
Configure the repo to the desired chain.
Fork the v33-X GitHub repo:
Copy the example .env file and run it in your terminal:
cp .env.example .env
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)
Update chainID in hardhat.config.js to the chain you are deploying on.

Run yarn to install packages:
yarn
Last updated