-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.chain1.config.js
57 lines (56 loc) · 1.36 KB
/
hardhat.chain1.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
57
require("@nomicfoundation/hardhat-toolbox");
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [
{
version: "0.8.18",
settings: {
optimizer: {
enabled: true,
runs: 200
},
}
},
{
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 200
},
evmVersion: "london"
}
}
]
},
networks: {
hardhat: {
bip44_chainId: 1,
chainId: 8888,
mining: {
auto: true,
// interval: 5000
},
accounts: {
mnemonic: "rule guard corn kidney giraffe town beef comic exercise shift depend arch",
count: 5,
initialIndex: 0,
path: "m/44'/60'/0'/0",
accountsBalance: "1000000000000000000000000",
},
},
chain1: {
bip44ChainId: 1,
chainId: 8888,
url: "http://localhost:18545",
accounts: ["0xed90a083f22658db3b557a22832b5d719e65764eb3169053d96f6221725bbfd2"] // Sandbox PRIVATE_KEY do not use in production
},
chain2: {
bip44ChainId: 2,
chainId: 9999,
url: "http://localhost:28545",
accounts: ["0xed90a083f22658db3b557a22832b5d719e65764eb3169053d96f6221725bbfd2"] // Sandbox PRIVATE_KEY do not use in production
},
}
};