forked from PatrickAlphaC/chainlink_defi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
34 lines (33 loc) · 863 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
require('babel-register')
require('babel-polyfill')
const HDWalletProvider = require('@truffle/hdwallet-provider')
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*" // Match any network id
},
live: {
provider: () => {
return new HDWalletProvider(process.env.MNEMONIC, process.env.KOVAN_RPC_URL)
},
network_id: '*',
// ~~Necessary due to https://github.com/trufflesuite/truffle/issues/1971~~
// Necessary due to https://github.com/trufflesuite/truffle/issues/3008
skipDryRun: true,
},
},
contracts_directory: './src/contracts/',
contracts_build_directory: './src/abis/',
compilers: {
solc: {
optimizer: {
enabled: true,
runs: 200
},
evmVersion: "petersburg",
version: "0.6.6"
}
}
}