-
Notifications
You must be signed in to change notification settings - Fork 0
/
tronbox.js
34 lines (34 loc) · 1.2 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
module.exports = {
networks: {
development: {
// For trontools/quickstart docker image
privateKey: '5d057fc8929208d4ba20f71eca547c79932e7af3b4699aeca2512285669f094a',
consume_user_resource_percent: 30,
fee_limit: 100000000,
fullNode: "http://127.0.0.1:8090",
solidityNode: "http://127.0.0.1:8091",
eventServer: "http://127.0.0.1:8092",
network_id: "*"
},
shasta: {
privateKey: '5d057fc8929208d4ba20f71eca547c79932e7af3b4699aeca2512285669f094a',
consume_user_resource_percent: 30,
fee_limit: 100000000,
fullNode: "https://api.shasta.trongrid.io",
solidityNode: "https://api.shasta.trongrid.io",
eventServer: "https://api.shasta.trongrid.io",
network_id: "*"
},
mainnet: {
// Don't put your private key here, pass it using an env variable, like:
// PK=21C66A0A02B6CF26A5F096038507CEF931C1845CC5B577764E4E3D73884389A1 tronbox migrate --network mainnet
privateKey: process.env.PK,
consume_user_resource_percent: 30,
fee_limit: 100000000,
fullNode: "https://api.trongrid.io",
solidityNode: "https://api.trongrid.io",
eventServer: "https://api.trongrid.io",
network_id: "*"
}
}
};