forked from tranchien2002/tomoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle.js
39 lines (38 loc) · 868 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
'use strict'
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = 'below aware hen gap hole city tower announce vapor pumpkin steak either';
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: "8545",
network_id: "*", // Match any network id
},
tomotestnet: {
provider: () => new HDWalletProvider(
mnemonic,
"https://testnet.tomochain.com",
0,
1,
true
),
network_id: "89",
gas: 3000000,
gasPrice: 20000000000000,
gasLimit: 1000000
},
tomomainnet: {
provider: () => new HDWalletProvider(
mnemonic,
"https://rpc.tomochain.com",
0,
1,
true,
"m/44'/889'/0'/0/",
),
network_id: "88",
gas: 2000000,
gasPrice: 10000000000000,
}
}
};