separate mainnet
@@ -32,6 +32,17 @@ module.exports = {
// //network_id: "*" // match any network
// },
+ mainnet: {
+ network_id: '1',
+ gas: 6900000,
+ provider: function() {
+ const HDWalletProvider = require("truffle-hdwallet-provider");
+ let url = `${process.env.WEB3_URL}`
+ let mnemonic = process.env.MNEMONIC
+ return new HDWalletProvider(mnemonic, url)
+ },
+ },
+
universal: {
network_id: '*',
gas: 6900000,
@@ -43,6 +54,7 @@ module.exports = {
},
},
+
// rinkeby: {
// network_id: 4,
// gas: 6900000,
