-
Notifications
You must be signed in to change notification settings - Fork 5
/
truffle.js
51 lines (47 loc) · 1.43 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
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "nick lucian brenda kevin sam fiscal patch fly damp ocean produce wish";
//Public - 0xe010ac6e0248790e08f42d5f697160dedf97e024
//Private - 3a10b4bc1258e8bfefb95b498fb8c0f0cd6964a811eabca87df5630bcacd7216
//ganache-cli -m "nick lucian brenda kevin sam fiscal patch fly damp ocean produce wish" -l 10000000
var nick = "the ureau";
//public - 0xb204edaf0410675e00e6c8a7e448a9e8e2db69aa
// private -fe5f52e7e0381448fe7d4a99e409b6da987b31362125ccb7bca781949cf61710
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*",
gas: 10000000,
websockets: true
},
dev2: {
host: "localhost",
port: 8546,
network_id: "*" // Match any network id
},
poa: {
provider: new HDWalletProvider(mnemonic, "http://40.117.249.181:8545"),
network_id:"*",
gas: 4612388,
gasPrice: 17e9
},
test: {
provider: new HDWalletProvider(mnemonic, "http://localhost:8545"),
network_id:"*",
gas: 4612388,
gasPrice: 17e9
},
ropsten: {
provider: new HDWalletProvider(mnemonic, "https://ropsten.infura.io"),
network_id: 3,
gas: 4612388
},
rinkeby: {
provider: new HDWalletProvider(mnemonic, "https://rinkeby.infura.io/zkGX3Vf8njIXiHEGRueB"),
network_id: 4,
gas: 4700000,
gasPrice: 17e9
}
}
};