-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtronbox-evm-config.js
43 lines (40 loc) · 1022 Bytes
/
tronbox-evm-config.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
43
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',
settings: {
// optimizer: {
// enabled: true,
// runs: 200
// },
// evmVersion: 'istanbul'
}
}
}
};