Skip to content

Instantly share code, notes, and snippets.

@ajb413
Created February 14, 2018 19:02
Show Gist options
  • Save ajb413/ff4e6626483cba999799c9b9822f1826 to your computer and use it in GitHub Desktop.
Save ajb413/ff4e6626483cba999799c9b9822f1826 to your computer and use it in GitHub Desktop.
const mnemonic = process.env.ethereum_mnemonic;
const HDWalletProvider = require("truffle-hdwallet-provider");
require('babel-register');
require('babel-polyfill');
module.exports = {
build: "npm run dev",
networks: {
development: {
host: "127.0.0.1",
port: 9545,
network_id: "*" // Match any network id
},
ropsten: {
provider: new HDWalletProvider(mnemonic, "https://ropsten.infura.io/"),
network_id: 3
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment