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  compilers: {
19    solc: {
20      version: "0.6.0"
21    }
22  }
23};