47 lines
1.3 KiB
JavaScript
47 lines
1.3 KiB
JavaScript
module.exports = {
|
|
// default applies to all environments
|
|
default: {
|
|
enabled: true,
|
|
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: {
|
|
//}
|
|
// 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
|
|
}
|
|
*/
|
|
//}
|
|
};
|