feat(@embark-bamboo-template): Add support for Embark 4.0.0

Add support for Embark 4.0.0.

Bump version.
This commit is contained in:
emizzle 2019-03-14 15:40:37 +11:00 committed by Pascal Precht
parent c21ea13284
commit c298545f57
4 changed files with 30 additions and 12809 deletions

View File

@ -14,17 +14,22 @@ module.exports = {
rpcCorsDomain: "auto", // Comma separated list of domains from which to accept cross origin requests (browser enforced)
// When set to "auto", Embark will automatically set the cors to the address of the webserver
proxy: true, // Proxy is used to present meaningful information about transactions
account: {
// "address": "", // When specified, uses that address instead of the default one for the network
password: "config/development/password" // Password to unlock the account
},
accounts: [
{
nodeAccounts: {
password: "config/development/password" // Password to unlock the account
}
},
{
mnemonic: "example exile argue silk regular smile grass bomb merge arm assist farm"
}
],
targetGasLimit: 8000000, // Target gas limit sets the artificial target gas floor for the blocks to mine
wsRPC: true, // Enable the WS-RPC server
wsOrigins: "auto", // Origins from which to accept websockets requests
// When set to "auto", Embark will automatically set the cors to the address of the webserver
wsHost: "localhost", // WS-RPC server listening interface (default: "localhost")
wsPort: 8546, // WS-RPC server listening port (default: 8546)
simulatorMnemonic: "example exile argue silk regular smile grass bomb merge arm assist farm", // Mnemonic used by the simulator to generate a wallet
simulatorBlocktime: 0 // Specify blockTime in seconds for automatic mining. Default is 0 and no auto-mining.
},
testnet: {
@ -34,9 +39,13 @@ module.exports = {
rpcHost: "localhost",
rpcPort: 8545,
rpcCorsDomain: "http://localhost:8000",
account: {
password: "config/testnet/password"
}
accounts: [
{
nodeAccounts: {
password: "config/testnet/password" // Password to unlock the account
}
}
]
},
livenet: {
enabled: true,
@ -45,9 +54,13 @@ module.exports = {
rpcHost: "localhost",
rpcPort: 8545,
rpcCorsDomain: "http://localhost:8000",
account: {
password: "config/livenet/password"
}
accounts: [
{
nodeAccounts: {
password: "config/livenet/password" // Password to unlock the account
}
}
]
},
privatenet: {
enabled: true,

View File

@ -11,10 +11,10 @@
"versions": {
"web3": "1.0.0-beta",
"solc": "0.4.24",
"ipfs-api": "17.2.4",
"p-iteration": "1.1.7"
"ipfs-api": "17.2.4"
},
"plugins": {
"embark-bamboo": {}
"embark-bamboo": {},
"embarkjs-connector-web3": {}
}
}

12792
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "embark-bamboo-template",
"version": "0.0.1",
"version": "1.0.1",
"description": "",
"scripts": {
"test": "embark test"
@ -10,7 +10,7 @@
"homepage": "",
"devDependencies": {},
"dependencies": {
"embark": "^3.1.5",
"embark-bamboo": "^1.0.0"
"embark-bamboo": "2.1.0",
"embarkjs-connector-web3": "4.0.0"
}
}