Skip to content

Commit

Permalink
chore: imtbl zkevm config
Browse files Browse the repository at this point in the history
  • Loading branch information
xtools-at committed Mar 20, 2024
1 parent 7f8b325 commit bd461fd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ const apiKey = {
"optimism-goerli": process.env.OPTIMISM_API_KEY || "",
"arbitrum-goerli": process.env.ARBISCAN_API_KEY || "",
arbitrum: process.env.ARBISCAN_API_KEY || "",
"imtbl-zkevm-testnet": "a",
"imtbl-zkevm": "a",
}

const apiUrl = {
Expand All @@ -79,6 +81,8 @@ const apiUrl = {
"optimism-goerli": "https://api-goerli-optimistic.etherscan.io",
arbitrum: "https://api.arbiscan.io",
"arbitrum-goerli": "https://api-goerli.arbiscan.io",
"imtbl-zkevm-testnet": "https://explorer.testnet.immutable.com/api",
"imtbl-zkevm": "https://explorer.immutable.com/api",
}

// `hardhat-deploy etherscan-verify` network config
Expand Down Expand Up @@ -157,6 +161,11 @@ const networks = {
chainId: 4337,
accounts: accounts(),
},
"imtbl-zkevm": {
url: "https://rpc.immutable.com",
chainId: 13371,
accounts: accounts(),
},

// testnets
goerli: {
Expand Down Expand Up @@ -212,6 +221,11 @@ const networks = {
chainId: 13337,
accounts: accounts(),
},
"imtbl-zkevm-testnet": {
url: "https://rpc.testnet.immutable.com",
chainId: 13473,
accounts: accounts(),
},
}

// You need to export an object to set up your config
Expand Down

0 comments on commit bd461fd

Please sign in to comment.