diff --git a/truffle-config.js b/truffle-config.js index a16dfdb..012b0d2 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -67,6 +67,13 @@ module.exports = { // Useful for deploying to a public network. // NB: It's important to wrap the provider as a function. + live: { + provider: () => new HDWalletProvider(mnemonic, `https://mainnet.infura.io/v3/${infuraKey}`), + network_id: 1, + gasPrice: 6000000001, + skipDryRun: true + }, + ropsten: { provider: () => new HDWalletProvider(mnemonic, `https://ropsten.infura.io/v3/${infuraKey}`), network_id: 3, // Ropsten's id