You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
664 B
32 lines
664 B
require('babel-register');
|
|
require('babel-polyfill');
|
|
|
|
var provider;
|
|
var HDWalletProvider = require('truffle-hdwallet-provider');
|
|
var mnemonic = '[REDACTED]';
|
|
|
|
if (!process.env.SOLIDITY_COVERAGE){
|
|
provider = new HDWalletProvider(mnemonic, 'https://ropsten.infura.io/')
|
|
}
|
|
|
|
|
|
module.exports = {
|
|
networks: {
|
|
development: {
|
|
host: 'localhost',
|
|
port: 8545,
|
|
network_id: '*'
|
|
},
|
|
ropsten: {
|
|
provider: provider,
|
|
network_id: 3 // official id of the ropsten network
|
|
},
|
|
coverage: {
|
|
host: "localhost",
|
|
network_id: "*",
|
|
port: 8555,
|
|
gas: 0xfffffffffff,
|
|
gasPrice: 0x01
|
|
}
|
|
}
|
|
};
|
|
|