diff --git a/templates/boilerplate/config/communication.js b/templates/boilerplate/config/communication.js index 78d87aa90..fc410142d 100644 --- a/templates/boilerplate/config/communication.js +++ b/templates/boilerplate/config/communication.js @@ -1,13 +1,13 @@ module.exports = { default: { enabled: true, - provider: "whisper", - available_providers: ["whisper"], + provider: "whisper", // Communication provider. Currently, Embark only supports whisper + available_providers: ["whisper"], // Array of available providers connection: { - host: "localhost", - port: 8546, - type: "ws" + host: "localhost", // Host of the blockchain node + port: 8546, // Port of the blockchain node + type: "ws" // Type of connection (ws or rps) } } -} +}; diff --git a/templates/demo/config/communication.js b/templates/demo/config/communication.js index eb969d3cd..bb0beee5f 100644 --- a/templates/demo/config/communication.js +++ b/templates/demo/config/communication.js @@ -1,12 +1,12 @@ module.exports = { default: { enabled: true, - provider: "whisper", - available_providers: ["whisper"], + provider: "whisper", // Communication provider. Currently, Embark only supports whisper + available_providers: ["whisper"], // Array of available providers connection: { - host: "localhost", - port: 8546, - type: "ws" + host: "localhost", // Host of the blockchain node + port: 8546, // Port of the blockchain node + type: "ws" // Type of connection (ws or rps) } } -} +};