-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
56 lines (55 loc) · 1.22 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
49
50
51
52
53
54
55
56
/**
* @type import('hardhat/config').HardhatUserConfig
*/
require("@nomiclabs/hardhat-waffle");
require('@nomiclabs/hardhat-ethers');
module.exports = {
networks: {
ropsten: {
url: "https://ropsten.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
chainId: 3,
accounts: ["e87426bdc2da01e617981c5a7971818cc4f71e649656f4e2dfdb411fd8b93d07"],
},
rinkeby: {
url: "https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
chainId: 4,
accounts: ["e87426bdc2da01e617981c5a7971818cc4f71e649656f4e2dfdb411fd8b93d07"],
},
mumbai: {
url: "https://rpc-mumbai.maticvigil.com",
chainId: 80001,
accounts: ["e87426bdc2da01e617981c5a7971818cc4f71e649656f4e2dfdb411fd8b93d07"],
}
},
solidity: {
compilers: [
{
version: '0.8.0',
settings: {
optimizer: {
enabled: true,
},
},
},
{
version: '0.8.4',
settings: {
optimizer: {
enabled: true,
},
},
},
{
version: '0.7.5',
settings: {
optimizer: {
enabled: true,
},
},
},
],
},
mocha: {
timeout: 20000
}
};