min amout added for padding
@@ -23,19 +23,25 @@ module.exports = {
networks: {
// truffle test --network dev
+ // dev0: {
+ // host: "127.0.0.1",
+ // port: 8545,
+ // gas: 6900000,
+ // from: `0x${process.env.SENDER_ACCOUNT}`,
+ // network_id: 9
+ // //network_id: "*" // match any network
+ // },
+
dev: {
- host: "127.0.0.1",
- port: 8545,
+ network_id: 4,
gas: 6900000,
- network_id: "*" // match any network
+ provider: function() {
+ const HDWalletProvider = require("truffle-hdwallet-provider");
+ let url = `${process.env.WEB3_URL}`
+ let mnemonic = process.env.MNEMONIC
+ return new HDWalletProvider(mnemonic, url)
},
-
- geth: {
- host: "127.0.0.1",
- port: 8545,
- gas: 6900000,
- from: `0x+${process.env.FUNDING_ACCOUNT}`,
- network_id: 9
+ network_id: "*"
},
rinkeby: {
