add mainnnet deployment config

Change-Id: I70314f8ab49f5d129012b80cecdf19fe6cb9dc1a
This commit is contained in:
valentin 2021-08-05 14:31:10 +02:00 committed by Valentin Von Albrecht
parent 2846b29810
commit cea46cdfbe
1 changed files with 10 additions and 1 deletions

View File

@ -8,6 +8,15 @@ module.exports = {
port: 8545,
network_id: "*",
},
mainnet: {
provider: () => new HDWalletProvider(process.env.MNEMONIC, `https://mainnet.infura.io/v3/`+process.env.INFURA_KEY),
network_id: 1,
gas: 10000000,
gasPrice: 101000000000,
confirmations: 1,
timeoutBlocks: 200,
skipDryRun: false
},
rinkeby: {
provider: () => new HDWalletProvider(process.env.MNEMONIC, `https://rinkeby.infura.io/v3/`+process.env.INFURA_KEY),
network_id: 4,
@ -29,7 +38,7 @@ module.exports = {
return new HDWalletProvider(process.env.MNEMONIC, 'https://bsc-dataseed.binance.org/')
},
network_id: '56',
gas: 80000000,
gas: 70000000,
gasPrice: 8000000000,
},
},