mirror of
https://github.com/hanzoai/etherplate.git
synced 2026-10-30 18:37:10 +00:00
30 lines
717 B
JavaScript
30 lines
717 B
JavaScript
// Allows us to use ES6 in our migrations and tests.
|
|
require('@babel/register')
|
|
require('@babel/polyfill')
|
|
|
|
var HDWalletProvider = require('truffle-hdwallet-provider')
|
|
|
|
var mnemonic = process.env.HDWALLET_MNEMONIC
|
|
|
|
module.exports = {
|
|
networks: {
|
|
ropsten: {
|
|
provider: new HDWalletProvider(mnemonic, process.env.ROPSTEN_PROVIDER_URL),
|
|
network_id: 3,
|
|
gas: 4612388,
|
|
gasPrice: 100000000000
|
|
},
|
|
rinkeby: {
|
|
provider: new HDWalletProvider(mnemonic, process.env.RINKEBY_PROVIDER_URL),
|
|
network_id: 4,
|
|
gas: 4612388,
|
|
gasPrice: 100000000000
|
|
},
|
|
development: {
|
|
host: '127.0.0.1',
|
|
port: 8545,
|
|
network_id: 1234 // Match any network id
|
|
}
|
|
}
|
|
}
|