Swithch the default network to mainnet

feature/default_network_editable
frankiebee 8 years ago
parent 2a68c89ba7
commit f6e551ef5f
  1. 9
      app/scripts/first-time-state.js

@ -1,11 +1,14 @@
// test and development environment variables
const env = process.env.METAMASK_ENV
const METAMASK_DEBUG = 'GULP_METAMASK_DEBUG'
//
// The default state of MetaMask
//
module.exports = {
config: {
provider: {
type: 'testnet',
type: (METAMASK_DEBUG || env === 'test') ? 'testnet' : 'mainnet',
},
},
}
}

Loading…
Cancel
Save