-
Notifications
You must be signed in to change notification settings - Fork 16
/
truffle.js
35 lines (30 loc) · 899 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
// const Web3 = require('web3');
// const web3 = new Web3();
// Using the IPC provider in node.js
// var net = require('net');
// var web3 = new Web3('/Users/restereo/Library/Ethereum/geth.ipc', net); // mac os path
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks: {
ganache: {
host: "127.0.0.1",
gas: 7000000,
port: 8545,
network_id: "*", // Match any network id,
},
development: {
host: '127.0.0.1',
gas: 50000000,
// gas: 4700000,
port: 8545,
network_id: '*' // Match any network id
},
cli: {
host: '127.0.0.1',
gas: 7000000,
port: 9545,
network_id: '*' // Match any network id
}
},
};