-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtronbox.js
More file actions
53 lines (52 loc) · 1.26 KB
/
tronbox.js
File metadata and controls
53 lines (52 loc) · 1.26 KB
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
52
53
const dotenv = require("dotenv");
dotenv.config();
const port = process.env.HOST_PORT || 9090;
module.exports = {
contracts_directory: "./contracts",
networks: {
mainnet: {
privateKey: process.env.TRON_PRIVATE_KEY_MAINNET,
userFeePercentage: 100,
feeLimit: 15000 * 1e6,
fullHost: "https://api.trongrid.io",
network_id: "1",
timeout: 60000000,
},
shasta: {
privateKey: process.env.PRIVATE_KEY_SHASTA,
userFeePercentage: 100,
feeLimit: 15000 * 1e6,
fullHost: "https://api.shasta.trongrid.io",
network_id: "2",
timeout: 60000000,
},
nile: {
privateKey: process.env.PRIVATE_KEY_NILE,
userFeePercentage: 100,
feeLimit: 15000 * 1e6,
fullHost: "https://api.nileex.io",
network_id: "3",
timeout: 60000000,
},
development: {
privateKey: "0000000000000000000000000000000000000000000000000000000000000001",
userFeePercentage: 100,
feeLimit: 1000 * 1e6,
fullHost: "http://127.0.0.1:" + port,
network_id: "9",
timeout: 60000000,
},
compilers: {
solc: {
version: "0.8.18",
},
},
},
solc: {
optimizer: {
enabled: true,
runs: 2000,
},
// evmVersion: "istanbul",
},
};