Skip to content

Commit

Permalink
feat(@embark-vyper-template): Support Embark 4.0.0
Browse files Browse the repository at this point in the history
Support Embark 4.0.0.

Bump version.
  • Loading branch information
emizzle authored and 0x-r4bbit committed Mar 27, 2019
1 parent 5038915 commit 1e6554a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 12,673 deletions.
35 changes: 24 additions & 11 deletions config/blockchain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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,
Expand All @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion embark.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@
"ipfs-api": "17.2.4",
"p-iteration": "1.1.7"
},
"plugins": {}
"plugins": {
"embarkjs-connector-web3": {}
}
}
Loading

0 comments on commit 1e6554a

Please sign in to comment.