2019-06-18 12:14:29 +00:00
|
|
|
module.exports = {
|
|
|
|
// applies to all environments
|
|
|
|
default: {
|
|
|
|
enabled: true,
|
2020-03-10 14:35:27 +00:00
|
|
|
client: "geth"
|
2019-06-18 12:14:29 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// default environment, merges with the settings in default
|
|
|
|
// assumed to be the intended environment by `embark run` and `embark blockchain`
|
|
|
|
development: {
|
2020-03-10 14:35:27 +00:00
|
|
|
client: "ganache-cli",
|
|
|
|
clientConfig: {
|
|
|
|
miningMode: 'dev'
|
|
|
|
}
|
2019-06-18 12:14:29 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// merges with the settings in default
|
|
|
|
// used with "embark run privatenet" and/or "embark blockchain privatenet"
|
|
|
|
privatenet: {
|
2020-03-10 14:35:27 +00:00
|
|
|
clientConfig: {
|
|
|
|
miningMode: 'auto'
|
|
|
|
},
|
2019-06-18 12:14:29 +00:00
|
|
|
datadir: ".embark/privatenet/datadir",
|
|
|
|
accounts: [
|
|
|
|
{
|
|
|
|
nodeAccounts: true,
|
|
|
|
password: "config/privatenet/password" // Password to unlock the account
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
};
|