embark/templates/boilerplate/config/communication.js

21 lines
708 B
JavaScript
Raw Normal View History

2018-06-12 12:59:31 -04: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 12:59:31 -04:00
connection: {
host: "localhost", // Host of the blockchain node
port: 8546, // Port of the blockchain node
2018-06-18 15:59:48 -04:00
type: "ws" // Type of connection (ws or rpc)
2018-06-12 12:59:31 -04:00
}
// Use this section when you need a specific symmetric or private keys in whisper
/*
,keys: {
symmetricKey: "your_symmetric_key",// Symmetric key for message decryption
privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption
}
*/
2018-06-12 12:59:31 -04:00
}
};
2018-06-12 12:59:31 -04:00