-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.base.ts
37 lines (35 loc) · 1.07 KB
/
hardhat.config.base.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { HardhatUserConfig } from 'hardhat/types'
import config from './hardhat.config'
const configWithNetwork: HardhatUserConfig = {
...config,
defaultNetwork: 'base',
networks: {
base: {
chainId: 8453,
url: process.env.BASE_URL as string,
accounts: [process.env.ANYRAND_BASE_DEPLOYER_PK as string],
},
baseSepolia: {
chainId: 84532,
url: process.env.BASE_SEPOLIA_URL as string,
accounts: [process.env.ANYRAND_BASE_DEPLOYER_PK as string],
},
},
etherscan: {
apiKey: {
base: process.env.BASESCAN_API_KEY as string,
baseSepolia: process.env.BASESCAN_API_KEY as string,
},
customChains: [
{
network: 'baseSepolia',
chainId: 84532,
urls: {
apiURL: 'https://base-sepolia.blockscout.com/api',
browserURL: 'https://sepolia-explorer.base.org',
},
},
],
},
}
export default configWithNetwork