Created
February 14, 2018 19:02
-
-
Save ajb413/ff4e6626483cba999799c9b9822f1826 to your computer and use it in GitHub Desktop.
Truffle config file from https://github.com/ajb413/crowdsalable-eth-token.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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