diff --git a/templates/boilerplate/config/contracts.js b/templates/boilerplate/config/contracts.js index 20c9ccf17..68265c7ed 100644 --- a/templates/boilerplate/config/contracts.js +++ b/templates/boilerplate/config/contracts.js @@ -14,7 +14,8 @@ module.exports = { // Balances are in Wei, but you can specify the unit with its name }, { - privateKeyFile: "path/to/file" // You can put more than one key, separated by , or ; + privateKeyFile: "path/to/file", // Either a keystore or a list of keys, separated by , or ; + password: "passwordForTheKeystore" // Needed to decrypt the keystore file }, { mnemonic: "12 word mnemonic", diff --git a/templates/demo/config/contracts.js b/templates/demo/config/contracts.js index 2ca24def4..37d689f96 100644 --- a/templates/demo/config/contracts.js +++ b/templates/demo/config/contracts.js @@ -14,7 +14,8 @@ module.exports = { // Balances are in Wei, but you can specify the unit with its name }, { - privateKeyFile: "path/to/file" // You can put more than one key, separated by , or ; + privateKeyFile: "path/to/file", // Either a keystore or a list of keys, separated by , or ; + password: "passwordForTheKeystore" // Needed to decrypt the keystore file }, { mnemonic: "12 word mnemonic", diff --git a/templates/simple/contracts.js b/templates/simple/contracts.js index 20c9ccf17..68265c7ed 100644 --- a/templates/simple/contracts.js +++ b/templates/simple/contracts.js @@ -14,7 +14,8 @@ module.exports = { // Balances are in Wei, but you can specify the unit with its name }, { - privateKeyFile: "path/to/file" // You can put more than one key, separated by , or ; + privateKeyFile: "path/to/file", // Either a keystore or a list of keys, separated by , or ; + password: "passwordForTheKeystore" // Needed to decrypt the keystore file }, { mnemonic: "12 word mnemonic",