12345678910111213141516171819202122232425262728 |
- /*
- * NB: since truffle-hdwallet-provider 0.0.5 you must wrap HDWallet providers in a
- * function when declaring them. Failure to do so will cause commands to hang. ex:
- * ```
- * mainnet: {
- * provider: function() {
- * return new HDWalletProvider(mnemonic, 'https://mainnet.infura.io/<infura-key>')
- * },
- * network_id: '1',
- * gas: 4500000,
- * gasPrice: 10000000000,
- * },
- */
- module.exports = {
- // See <http://truffleframework.com/docs/advanced/configuration>
- // to customize your Truffle configuration!
- migrations_directory: './migrations',
- networks: {
- development: {
- host: 'localhost',
- port: 7545,
- network_id: '*', // Match any network id
- gasPrice: 1,
- gas: 8000000,
- },
- },
- }
|