Skip to content

Instantly share code, notes, and snippets.

@iurimatias
Last active June 20, 2018 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iurimatias/d49468b4533eb10f879c133c7c36a024 to your computer and use it in GitHub Desktop.
Save iurimatias/d49468b4533eb10f879c133c7c36a024 to your computer and use it in GitHub Desktop.
config/contracts.js
// config/contracts.js
module.exports = {
"testnet": {
"deployment": {
"accounts": [
{
"privateKey": "your_private_key"
},
{
"privateKeyFile": "path/to/file" // You can put more than one key, separated by , or ;
},
{
"mnemonic": "12 word mnemonic",
"addressIndex": "0", // Optional. The index to start getting the address
"numAddresses": "1", // Optional. The number of addresses to get
"hdpath": "m/44'/60'/0'/0/" // Optional. HD derivation path
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment