diff --git a/README.md b/README.md index a367f64..86d7720 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Networks can be configured in _[hardhat.config.ts](hardhat.config.ts)_. We've pr - `scroll` (Scroll) - `zeta` (ZetaChain Mainnet) - `mint` (Mint Blockchain Mainnet) +- `mode` (Mode Network Mainnet) ## Verification diff --git a/hardhat.config.ts b/hardhat.config.ts index 802e3a5..b0dae59 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -123,6 +123,10 @@ const config: HardhatUserConfig = { mint: { url: "https://rpc.mintchain.io", accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [] + }, + mode: { + url: "https://mode.drpc.org", + accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [] } }, gasReporter: { @@ -151,9 +155,10 @@ const config: HardhatUserConfig = { metis: "metis", neon: "neon", polygonZkEVM: process.env.ZKEVM_POLYGONSCAN_API_KEY || "", - scroll: process.env.SCROLLSCAN_API_KEY || "" + scroll: process.env.SCROLLSCAN_API_KEY || "", // zeta: "", // no etherscan // mint: "", // no etherscan + mode: "mode" }, customChains: [ { @@ -217,6 +222,14 @@ const config: HardhatUserConfig = { apiURL: "https://api.scrollscan.com/api", browserURL: "https://scrollscan.com" } + }, + { + network: "mode", + chainId: 34443, + urls: { + apiURL: "https://api.routescan.io/v2/network/mainnet/evm/34443/etherscan", + browserURL: "https://modescan.io" + } } ] },