truffle-config.js 541 B

123456789101112131415161718
  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. module.exports = {
  15. // See <http://truffleframework.com/docs/advanced/configuration>
  16. // to customize your Truffle configuration!
  17. }