-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtronbox-evm-config.js
More file actions
46 lines (46 loc) · 1.25 KB
/
tronbox-evm-config.js
File metadata and controls
46 lines (46 loc) · 1.25 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
module.exports = {
networks: {
bttc: {
// Don't put your private key here:
privateKey: process.env.PRIVATE_KEY_BTTC,
/**
* Create a .env file (it must be gitignored) containing something like
*
* export PRIVATE_KEY_BTTC=4E7FEC...656243
*
* Then, run the migration with:
*
* source .env && tronbox migrate --network bttc --evm
*/
fullHost: 'https://rpc.bt.io',
// gas: 8500000, // Gas sent with each transaction
// gasPrice: '500000000000000', // 500,000 gwei (in wei)
network_id: '1'
},
donau: {
privateKey: process.env.PRIVATE_KEY_DONAU,
fullHost: 'https://pre-rpc.bt.io',
network_id: '2'
},
development: {
privateKey: process.env.PRIVATE_KEY_DEV,
fullHost: 'http://127.0.0.1:8545',
network_id: '9'
}
},
compilers: {
solc: {
version: '0.8.7',
// An object with the same schema as the settings entry in the Input JSON.
// See https://docs.soliditylang.org/en/latest/using-the-compiler.html#input-description
settings: {
// optimizer: {
// enabled: true,
// runs: 200
// },
// evmVersion: 'istanbul',
// viaIR: true,
}
}
}
};