communication.js
1 module.exports = { 2 // default applies to all environments 3 default: { 4 enabled: true, 5 provider: "whisper", // Communication provider. Currently, Embark only supports whisper 6 available_providers: ["whisper"], // Array of available providers 7 }, 8 9 // default environment, merges with the settings in default 10 // assumed to be the intended environment by `embark run` 11 development: { 12 connection: { 13 host: "localhost", // Host of the blockchain node 14 port: 8546, // Port of the blockchain node 15 type: "ws" // Type of connection (ws or rpc) 16 } 17 }, 18 19 // merges with the settings in default 20 // used with "embark run privatenet" 21 privatenet: { 22 }, 23 24 25 // merges with the settings in default 26 // used with "embark run testnet" 27 testnet: { 28 }, 29 30 // merges with the settings in default 31 // used with "embark run livenet" 32 livenet: { 33 }, 34 35 // you can name an environment with specific settings and then specify with 36 // "embark run custom_name" 37 //custom_name: { 38 //} 39 }; 40