From af90cc7af5ae713579135703a216b51ea61a7093 Mon Sep 17 00:00:00 2001 From: q1q0 Date: Wed, 16 Aug 2023 17:37:50 -0400 Subject: [PATCH] update hardhat config --- hardhat.config.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 5757b9b5..18c05835 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -26,7 +26,8 @@ const chainIds = { polygon: 137, arbitrum: 42161, optimism: 10, - fantom: 250 + fantom: 250, + base: 8453, }; const alchemyApiKey = process.env.ALCHEMY_API_KEY; @@ -123,7 +124,18 @@ const config: HardhatUserConfig = { arbitrumOne: String(process.env.ARB_ETHSCAN_KEY), avalanche: String(process.env.AVAX_ETHSCAN_KEY), opera: String(process.env.FTM_ETHSCAN_KEY), - } + // base: String(process.env.BASE_ETHSCAN_KEY), + }, + customChains: [ + { + network: "base", + chainId: 8453, + urls: { + apiURL: "https://api.basescan.org/api", + browserURL: "https://basescan.org", + } + } + ] }, typechain: { outDir: "typechain",