Skip to content

Commit

Permalink
Update truffle-config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter-morgan authored Oct 16, 2019
1 parent c1dc0c9 commit 2fb0c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

var HDWalletProvider = require('truffle-hdwallet-provider');
var MNEMONIC = 'spell lunar soldier because choice destroy virus boring bright raise stand quick';
var MNEMONIC = '<<enter mnemonic>';
var Web3 = require('web3'); // Set variable to the web3 modulevar web3 = new Web3(Web3.givenProvider || "ws://localhost:8545");
// const infuraKey = "fj4jll3k.....";
//
Expand Down Expand Up @@ -63,7 +63,7 @@ module.exports = {
// Useful for deploying to a public network.
// NB: It's important to wrap the provider as a function.
ropsten: {
provider: () => new HDWalletProvider(MNEMONIC, `https://ropsten.infura.io/v3/d8c2933a044346b985e27033bd995433`),
provider: () => new HDWalletProvider(MNEMONIC, `<api>`),
network_id: 3, // Ropsten's id
gas: 5500000, // Ropsten has a lower block limit than mainnet
// confirmations: 2, // # of confs to wait between deployments. (default: 0)
Expand Down

0 comments on commit 2fb0c48

Please sign in to comment.