-
Notifications
You must be signed in to change notification settings - Fork 1
/
tronbox.js
42 lines (39 loc) · 1.13 KB
/
tronbox.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
const tronNetworkConfig = require('./private_file/tron-network-config.js');
/*
module.exports = {
mainnet: {
privateKey: '*********************************',
},
shasta: {
privateKey: '*********************************',
},
development: {
privateKey: '*********************************',
},
};
*/
module.exports = {
networks: {
development: {
privateKey: tronNetworkConfig.development.privateKey,
consume_user_resource_percent: 30,
fee_limit: 100000000,
fullHost: 'http://127.0.0.1:9090',
network_id: '*',
},
mainnet: {
privateKey: tronNetworkConfig.mainnet.privateKey,
consume_user_resource_percent: 30,
fee_limit: 100000000,
fullHost: 'https://api.trongrid.io',
network_id: '*',
},
shasta: {
privateKey: tronNetworkConfig.shasta.privateKey,
consume_user_resource_percent: 30,
fee_limit: 100000000,
fullHost: 'https://api.shasta.trongrid.io',
network_id: '*',
},
},
};