-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle.js
43 lines (42 loc) · 889 Bytes
/
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
const PrivateKeyProvider = require("truffle-privatekey-provider");
const privateKey = "771C452DA809F1AC5F3C39D6ACFC50327BDC4B87F1486B7249E47439482A7BCF";
module.exports = {
networks: {
ganache: {
host: "localhost",
port: 7545,
network_id: "5777",
gas:6721975,
},
dev: {
host: "localhost",
port: 8545,
network_id: "*",
gas:6721975,
},
test: {
host: "localhost",
port: 8545,
network_id: "*",
gas:6721975,
},
truffleDev: {
host: "localhost",
port: 9545,
network_id: "*",
gas:6721975,
},
rinkeby: {
provider: function() {
return new PrivateKeyProvider(privateKey, "https://rinkeby.infura.io/v3/0e9b5884b22944928370ffadd59c8079")
},
network_id: 3
}
},
solc: {
optimizer: {
enabled: true,
runs: 1
}
}
};