2020-02-18 19:23:31 +00:00
|
|
|
module.exports = {
|
|
|
|
// default applies to all environments
|
|
|
|
default: {
|
|
|
|
// order of connections the dapp should connect to
|
|
|
|
dappConnection: [
|
|
|
|
"$WEB3", // uses pre existing web3 object if available (e.g in Mist)
|
2020-03-30 13:54:59 +00:00
|
|
|
"$EMBARK",
|
2020-02-18 19:23:31 +00:00
|
|
|
"ws://localhost:8546",
|
|
|
|
"http://localhost:8545"
|
|
|
|
],
|
|
|
|
|
|
|
|
// Automatically call `ethereum.enable` if true.
|
|
|
|
// If false, the following code must run before sending any transaction: `await EmbarkJS.enableEthereum();`
|
|
|
|
// Default value is true.
|
|
|
|
// dappAutoEnable: true,
|
|
|
|
|
|
|
|
gas: "auto",
|
|
|
|
|
|
|
|
// Strategy for the deployment of the contracts:
|
|
|
|
// - implicit will try to deploy all the contracts located inside the contracts directory
|
|
|
|
// or the directory configured for the location of the contracts. This is default one
|
|
|
|
// when not specified
|
|
|
|
// - explicit will only attempt to deploy the contracts that are explicitly specified inside the
|
|
|
|
// contracts section.
|
2020-03-30 13:54:59 +00:00
|
|
|
strategy: 'explicit',
|
2020-02-18 19:23:31 +00:00
|
|
|
|
|
|
|
// minimalContractSize, when set to true, tells Embark to generate contract files without the heavy bytecodes
|
|
|
|
// Using filteredFields lets you customize which field you want to filter out of the contract file (requires minimalContractSize: true)
|
|
|
|
// minimalContractSize: false,
|
|
|
|
// filteredFields: [],
|
|
|
|
|
|
|
|
deploy: {
|
2020-02-21 11:41:03 +00:00
|
|
|
GiftBucket: {
|
2020-02-19 16:35:22 +00:00
|
|
|
deploy: false,
|
|
|
|
}
|
2020-02-18 19:23:31 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
// default environment, merges with the settings in default
|
|
|
|
// assumed to be the intended environment by `embark run`
|
|
|
|
development: {},
|
|
|
|
|
|
|
|
// merges with the settings in default
|
|
|
|
// used with "embark run privatenet"
|
|
|
|
privatenet: {},
|
|
|
|
|
|
|
|
// you can name an environment with specific settings and then specify with
|
|
|
|
// "embark run custom_name" or "embark blockchain custom_name"
|
|
|
|
// custom_name: {}
|
|
|
|
};
|