2018-08-20 18:42:27 +00:00
|
|
|
module.exports = {
|
2018-10-09 22:47:06 +00:00
|
|
|
// default applies to all environments
|
2018-08-20 18:42:27 +00:00
|
|
|
default: {
|
|
|
|
enabled: true,
|
|
|
|
provider: "whisper", // Communication provider. Currently, Embark only supports whisper
|
|
|
|
available_providers: ["whisper"], // Array of available providers
|
2018-10-09 22:47:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// default environment, merges with the settings in default
|
|
|
|
// assumed to be the intended environment by `embark run`
|
|
|
|
development: {
|
2018-08-20 18:42:27 +00:00
|
|
|
connection: {
|
|
|
|
host: "localhost", // Host of the blockchain node
|
|
|
|
port: 8546, // Port of the blockchain node
|
|
|
|
type: "ws" // Type of connection (ws or rpc)
|
|
|
|
}
|
2018-10-09 22:47:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// 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: {
|
|
|
|
//}
|
2018-08-20 18:42:27 +00:00
|
|
|
};
|
|
|
|
|