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.
33 lines
664 B
33 lines
664 B
8 years ago
|
require('babel-register');
|
||
|
require('babel-polyfill');
|
||
|
|
||
8 years ago
|
var provider;
|
||
8 years ago
|
var HDWalletProvider = require('truffle-hdwallet-provider');
|
||
8 years ago
|
var mnemonic = '[REDACTED]';
|
||
8 years ago
|
|
||
|
if (!process.env.SOLIDITY_COVERAGE){
|
||
|
provider = new HDWalletProvider(mnemonic, 'https://ropsten.infura.io/')
|
||
|
}
|
||
8 years ago
|
|
||
|
|
||
9 years ago
|
module.exports = {
|
||
8 years ago
|
networks: {
|
||
|
development: {
|
||
8 years ago
|
host: 'localhost',
|
||
8 years ago
|
port: 8545,
|
||
8 years ago
|
network_id: '*'
|
||
|
},
|
||
|
ropsten: {
|
||
|
provider: provider,
|
||
|
network_id: 3 // official id of the ropsten network
|
||
8 years ago
|
},
|
||
|
coverage: {
|
||
|
host: "localhost",
|
||
|
network_id: "*",
|
||
|
port: 8555,
|
||
|
gas: 0xfffffffffff,
|
||
|
gasPrice: 0x01
|
||
8 years ago
|
}
|
||
9 years ago
|
}
|
||
|
};
|