-
Notifications
You must be signed in to change notification settings - Fork 7
/
truffle.js
48 lines (47 loc) · 1.29 KB
/
truffle.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
require("babel-register");
require("babel-polyfill");
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
gas: 4712388,
network_id: "*", // Match any network id
},
test: {
host: "localhost",
port: 8545,
gas: 4712388,
network_id: "*", // Match any network id
disableConfirmationListener: true, // workaround for eth_getBlockByNumber spam
},
rinkeby: {
host: "localhost",
from: "0x1120336b9a0631d65013dbfe7a68b61b586fc2f7",
port: 8546,
gas: 300000,
gasPrice: 4000000000, // 4 GWei
network_id: "4", // Match rinkeby network
},
main: {
host: "localhost",
from: "0x324ec9421c051d1ec1855ef6fe49263c02b35c77",
port: 8546,
gas: 300000,
gasPrice: 4000000000, // 4 GWei
confirmations: 2,
network_id: "1", // Match main network
},
},
compilers: {
solc: {
version: "^0.8.11",
settings: {
optimizer: {
runs: 200,
enabled: true,
},
},
},
},
};