-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtronbox.js
More file actions
40 lines (38 loc) · 872 Bytes
/
Copy pathtronbox.js
File metadata and controls
40 lines (38 loc) · 872 Bytes
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
require('dotenv').config();
module.exports = {
networks: {
nile: {
privateKey: process.env.PRIVATE_KEY_NILE,
consume_user_resource_percent: 50,
fee_limit: 1e9,
fullHost: process.env.FULL_NODE_NILE,
network_id: '*',
},
development: {
privateKey: process.env.PRIVATE_KEY_DEVELOPMENT,
consume_user_resource_percent: 100,
fee_limit: 1000000000,
fullHost: process.env.FULL_NODE_DEVELOPMENT,
network_id: '*'
},
},
compilers: {
solc: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true, // Optional optimization settings
runs: 200,
},
},
},
},
// solc compiler optimize
solc: {
optimizer: {
enabled: true, // default: false, true: enable solc optimize
runs: 200
},
evmVersion: 'shanghai'
}
};