-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtruffle-config.js
39 lines (36 loc) · 895 Bytes
/
truffle-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
// SPDX-License-Identifier: MIT
require('babel-register');
require('babel-polyfill');
const HDWalletProvider = require('@truffle/hdwallet-provider');
const privateKey = 'c809944771d9888057be4cab9562db0d0d88127110397b416eb0ffee84797dd3';
module.exports = {
networks: {
development: {
provider: function () {
return new HDWalletProvider({
privateKeys: [privateKey],
providerOrUrl: 'http://154.12.237.243:7118',
});
},
network_id: '*',
},
},
contracts_directory: './src/contracts/',
contracts_build_directory: './src/abis/',
compilers: {
solc: {
versions: [
"0.5.0",
"0.5.1",
// ... add all the versions in the range up to 0.8.20
"0.8.19",
"0.8.20"
],
optimizer: {
enabled: true,
runs: 200,
},
evmVersion: 'istanbul',
},
},
};