Skip to content

Commit

Permalink
Add rinkeby deployment config
Browse files Browse the repository at this point in the history
  • Loading branch information
devstein committed May 29, 2022
1 parent df74f53 commit 5841a6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ task("accounts", "Prints the list of accounts", async () => {
const ROPSTEN_PRIVATE_KEY = process.env.ROPSTEN_PRIVATE_KEY;
const ROPSTEN_ALCHEMY_API_KEY = process.env.ROPSTEN_ALCHEMY_API_KEY;

const RINKEBY_PRIVATE_KEY = process.env.RINKEBY_PRIVATE_KEY;
const RINKEBY_ALCHEMY_API_KEY = process.env.RINKEBY_ALCHEMY_API_KEY;

const MUMBAI_PRIVATE_KEY = process.env.MUMBAI_PRIVATE_KEY;
const MUMBAI_ALCHEMY_API_KEY = process.env.MUMBAI_ALCHEMY_API_KEY;

Expand Down Expand Up @@ -46,12 +49,17 @@ const config: HardhatUserConfig = {
url: `https://polygon-mumbai.g.alchemy.com/v2/${MUMBAI_ALCHEMY_API_KEY}`,
accounts: [`${MUMBAI_PRIVATE_KEY}`],
},
rinkeby: {
url: `https://eth-rinkeby.alchemyapi.io/v2/${RINKEBY_ALCHEMY_API_KEY}`,
accounts: [`${RINKEBY_PRIVATE_KEY}`],
},
},
etherscan: {
apiKey: {
// Ethereum
mainnet: ETHERSCAN_API_KEY,
ropsten: ETHERSCAN_API_KEY,
rinkeby: ETHERSCAN_API_KEY,
// polygon
polygon: POLYGONSCAN_API_KEY,
polygonMumbai: POLYGONSCAN_API_KEY,
Expand Down

0 comments on commit 5841a6f

Please sign in to comment.