From acd5b7988627943eb0c2ae11aa6b5b18a8c72c40 Mon Sep 17 00:00:00 2001 From: Jesus Lanchas Date: Fri, 6 Dec 2024 16:10:08 +0100 Subject: [PATCH] chore: use the basescan explorer for mainnet --- hardhat.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 37e63d4..1f95328 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -63,6 +63,10 @@ extendConfig((config: HardhatConfig) => { "node_modules/@venusprotocol/governance-contracts/deployments/basesepolia", "node_modules/@venusprotocol/oracle/deployments/basesepolia", ], + basemainnet: [ + // TODO: "node_modules/@venusprotocol/governance-contracts/deployments/basemainnet", + // TODO: "node_modules/@venusprotocol/oracle/deployments/basemainnet", + ], }, }; } @@ -188,7 +192,7 @@ const config: HardhatUserConfig = { url: process.env.ARCHIVE_NODE_basemainnet || "https://mainnet.base.org", chainId: 8453, live: true, - accounts: process.env.DEPLOYER_PRIVATE_KEY ? [`0x${process.env.DEPLOYER_PRIVATE_KEY}`] : [], + accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [], }, }, gasReporter: { @@ -289,7 +293,7 @@ const config: HardhatUserConfig = { network: "basemainnet", chainId: 8453, urls: { - apiURL: "https://mainnet.base.org", + apiURL: "https://api.basescan.org/api", browserURL: "https://basescan.org/", }, },