Added mainnet truffle config

This commit is contained in:
Thrilok Kumar 2020-05-04 06:21:01 +05:30
parent 920ccb68d9
commit 52073bf863

View File

@ -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