Skip to content

Instantly share code, notes, and snippets.

@kirillsurkov
Created March 28, 2018 12:48
Show Gist options
  • Select an option

  • Save kirillsurkov/2e2522c97814b5b4c2b9d88d5501c24e to your computer and use it in GitHub Desktop.

Select an option

Save kirillsurkov/2e2522c97814b5b4c2b9d88d5501c24e to your computer and use it in GitHub Desktop.
const HDWalletProvider = require("truffle-hdwallet-provider");
const keys = ["ce2eab51c7c428...", "46c36f1970dcf37ec..."];
module.exports = {
networks: {
ropsten: {
provider: () => new HDWalletProvider(keys, "https://ropsten.infura.io/uJhP7KE..."),
network_id: 3,
gas: 4500000,
gasPrice: 40000000000
}
},
network: "ropsten",
solc: {
optimizer: {
enabled: true,
runs: 200
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment