-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtruffle.js
53 lines (52 loc) · 999 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
44
45
46
47
48
49
50
51
52
53
var Web3 = require('web3')
module.exports = {
networks: {
development: {
provider: new Web3('ws://localhost:8545'),
network_id: "*", // Match any network id
gasPrice: 10 ** 9,
gas: 6000000
},
local: {
host: 'localhost',
port: 8545,
network_id: '*',
gas: 6000000,
gasPrice: 2e9, // 2 Gwei
},
ropsten: {
host: 'localhost',
port: 8565,
network_id: 3,
gas: 500000,
gasPrice: 10e9, // 10 Gwei
},
rinkeby: {
host: 'localhost',
port: 8565,
network_id: 4,
gas: 500000,
gasPrice: 10e9, // 10 Gwei
},
kovan: {
host: 'localhost',
port: 8555,
network_id: 42,
gas: 2000000,
gasPrice: 10e9, // 10 Gwei
},
mainnet: {
host: 'localhost',
port: 8546,
network_id: '1',
gas: 1000000,
gasPrice: 10e9, // 10 Gwei
}
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
}
}