embark-area-51/templates/demo/config/communication.js

13 lines
400 B
JavaScript
Raw Normal View History

2018-06-12 16:59:31 +00:00
module.exports = {
default: {
enabled: true,
provider: "whisper", // Communication provider. Currently, Embark only supports whisper
available_providers: ["whisper"], // Array of available providers
2018-06-12 16:59:31 +00:00
connection: {
host: "localhost", // Host of the blockchain node
port: 8546, // Port of the blockchain node
2018-06-18 19:59:48 +00:00
type: "ws" // Type of connection (ws or rpc)
2018-06-12 16:59:31 +00:00
}
}
};