-
Notifications
You must be signed in to change notification settings - Fork 2
/
hardhat.config.js
48 lines (47 loc) · 1.08 KB
/
hardhat.config.js
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
38
39
40
41
42
43
44
45
46
47
48
/* hardhat.config.js */
require('@nomiclabs/hardhat-waffle');
module.exports = {
defaultNetwork: 'evmosTestnet',
networks: {
hardhat: {
chainId: 1337,
},
polygonzkEVMTestnet: {
url: 'https://rpc.public.zkevm-test.net',
accounts: [process.env.privateKey],
chainId: 1442,
},
polygonzkEVMMainnet: {
url: 'https://zkevm-rpc.com',
accounts: [process.env.privateKey],
chainId: 1101,
},
polygonTestnet: {
url: 'https://rpc-mumbai.maticvigil.com',
accounts: [process.env.privateKey],
chainId: 80001,
},
polygonMainnet: {
url: 'https://rpc-mainnet.maticvigil.com',
accounts: [process.env.privateKey],
chainId: 1101,
},
gnosisTestnet: {
// Chiado testnet has a different chain id
url: 'https://rpc.chiadochain.net',
accounts: [process.env.privateKey],
gasPrice: 50000000000,
chainId: 10200,
},
},
solidity: {
version: '0.8.4',
settings: {
optimizer: {
enabled: true,
runs: 50,
},
viaIR: true,
},
},
};