Skip to content

Commit

Permalink
Add Ropsten to truffle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kronosapiens committed Dec 20, 2021
1 parent 0a4f8b3 commit 9c0b375
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ module.exports = {
},
network_id: "5",
},
ropsten: {
provider: () => {
return new HDWalletProvider("replace-with-private-key-when-using", "https://ropsten.infura.io/v3/e21146aa267845a2b7b4da025178196d");
},
network_id: "3",
},
mainnet: {
provider: () => {
return new HDWalletProvider("replace-with-private-key-when-using", "https://mainnet.infura.io/v3/e21146aa267845a2b7b4da025178196d");
Expand Down

0 comments on commit 9c0b375

Please sign in to comment.