mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Added mainnet truffle config
This commit is contained in:
parent
920ccb68d9
commit
52073bf863
|
@ -67,6 +67,13 @@ module.exports = {
|
||||||
|
|
||||||
// Useful for deploying to a public network.
|
// Useful for deploying to a public network.
|
||||||
// NB: It's important to wrap the provider as a function.
|
// 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: {
|
ropsten: {
|
||||||
provider: () => new HDWalletProvider(mnemonic, `https://ropsten.infura.io/v3/${infuraKey}`),
|
provider: () => new HDWalletProvider(mnemonic, `https://ropsten.infura.io/v3/${infuraKey}`),
|
||||||
network_id: 3, // Ropsten's id
|
network_id: 3, // Ropsten's id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user