hackathon-registration-dapp/config/communication.js

41 lines
1018 B
JavaScript
Raw Normal View History

2018-10-03 12:45:56 +00:00
module.exports = {
// default applies to all environments
default: {
2018-10-08 23:05:41 +00:00
enabled: false,
2018-10-03 12:45:56 +00:00
provider: "whisper", // Communication provider. Currently, Embark only supports whisper
available_providers: ["whisper"], // Array of available providers
},
// default environment, merges with the settings in default
// assumed to be the intended environment by `embark run`
development: {
connection: {
host: "localhost", // Host of the blockchain node
port: 8546, // Port of the blockchain node
type: "ws" // Type of connection (ws or rpc)
}
},
// merges with the settings in default
// used with "embark run privatenet"
privatenet: {
},
// merges with the settings in default
// used with "embark run testnet"
testnet: {
},
// merges with the settings in default
// used with "embark run livenet"
livenet: {
},
// you can name an environment with specific settings and then specify with
// "embark run custom_name"
//custom_name: {
//}
};