forked from lions-mane/sol-datastructs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle-config.js
29 lines (27 loc) · 866 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
// const HDWalletProvider = require('@truffle/hdwallet-provider');
module.exports = {
networks: {
development: {
host: '127.0.0.1',
port: 8545,
network_id: '*', // eslint-disable-line @typescript-eslint/camelcase
gas: 8500000, // pump pump the gas
websockets: true,
},
},
// Configure your compilers
compilers: {
solc: {
version: '0.6.12', // Fetch exact version from solc-bin (default: truffle's version)
settings: {
// See the solidity docs for advice about optimization and evmVersion
parser: 'solcjs',
optimizer: {
enabled: true,
runs: 200,
},
evmVersion: 'istanbul', //chainId()
},
},
},
};