arnaucube
arnaucube/miksi-corePublic Self-hosted repository
miksi-core/truffle-config.js
truffle-config.jsRaw
 1/*
 2 * NB: since truffle-hdwallet-provider 0.0.5 you must wrap HDWallet providers in a 
 3 * function when declaring them. Failure to do so will cause commands to hang. ex:
 4 * ```
 5 * mainnet: {
 6 *     provider: function() { 
 7 *       return new HDWalletProvider(mnemonic, 'https://mainnet.infura.io/<infura-key>') 
 8 *     },
 9 *     network_id: '1',
10 *     gas: 4500000,
11 *     gasPrice: 10000000000,
12 *   },
13 */
14
15module.exports = {
16  // See <http://truffleframework.com/docs/advanced/configuration>
17  // to customize your Truffle configuration!
18  enableTimeouts: false,
19  before_timeout: 1000000000,
20  test_timeout: 1000000000,
21  contracts_directory: "./test/build",
22  compilers: {
23    solc: {
24      version: "0.6.0"
25    }
26  }
27};