diff --git a/hardhat.config.ts b/hardhat.config.ts index 588d0a7..42b7f61 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -27,7 +27,8 @@ const { BSCSCAN_API_KEY, ARBISCAN_API_KEY, OPTIMISTIC_ETHERSCAN_API_KEY, - ZKSYNC_EXPLORER_API_KEY + ZKSYNC_EXPLORER_API_KEY, + BASESCAN_API_KEY } = process.env; const config: HardhatUserConfig = { @@ -121,6 +122,20 @@ const config: HardhatUserConfig = { tzketh: { url: `${QUICKNODE_ZKSYNC_SEPOLIA_API_KEY}`, accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`] + }, + tbaseeth: { + url: 'https://sepolia.base.org', + accounts: [ + `${PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT}`, + `${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP}` + ] + }, + baseeth: { + url: 'https://mainnet.base.org/', + accounts: [ + `${PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT}`, + `${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP}` + ] } }, gasReporter: { @@ -146,7 +161,10 @@ const config: HardhatUserConfig = { optimisticSepolia: `${OPTIMISTIC_ETHERSCAN_API_KEY}`, // zksync zksync: `${ZKSYNC_EXPLORER_API_KEY}`, - zksyncSepolia: `${ZKSYNC_EXPLORER_API_KEY}` + zksyncSepolia: `${ZKSYNC_EXPLORER_API_KEY}`, + // base chain + baseSepolia: `${BASESCAN_API_KEY}`, + base: `${BASESCAN_API_KEY}` }, customChains: [ { @@ -196,6 +214,22 @@ const config: HardhatUserConfig = { apiURL: 'https://api-amoy.polygonscan.com/api', browserURL: 'https://amoy.polygonscan.com' } + }, + { + network: 'baseSepolia', + chainId: 84532, + urls: { + apiURL: 'https://api-sepolia.basescan.org/api', + browserURL: 'https://sepolia.basescan.org/' + } + }, + { + network: 'base', + chainId: 8453, + urls: { + apiURL: 'https://api.basescan.org/api', + browserURL: 'https://basescan.org/' + } } ] },