-
Notifications
You must be signed in to change notification settings - Fork 10
/
truffle.js
51 lines (43 loc) · 1.26 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
49
50
51
require('babel-register');
require('babel-polyfill');
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*"
},
/*
settings assume the node runs as follow:
$ geth --fast --cache=1048 --testnet --unlock "0xmyaddress" \
--rpc --rpcapi "eth,net,web3" --rpccorsdomain '*' --rpcaddr localhost --rpcport 8546
*/
ropsten: {
host: "localhost",
port: 8546,
network_id: "3"
},
/*
settings assume the TCP port 8549 on the host running 'truffle' is forwarded via ssh
to the host running the Ethereum node (client) with the RPC port 8545:
localUser@nodeHost:~$ ssh remoteUser@truffleRunningHost -L 8049:localhost:8545
*/
main: {
host: "localhost",
port: 8549,
network_id: "1"
}
},
// gasPrice: 100e9,
mocha: {
useColors: false,
slow: 30000,
// bail: true,
grep: "CtdTokenMock",
invert: true
},
version: "0.0.2",
package_name: "ctd-ico",
description: "Smart-contracts for Cointed Token and Token Sale",
license: "MIT"
};