Next-gen Embark features
Go to file
emizzle 728713a183
Embark blockchain logs when running standalone
When running `embark blockchain` followed by `embark run` previously, logs generated in the standalone `embark blockchain` process were black boxed and not accessible to the main Embark process.

This is fixed by creating a client IPC connection in the `embark blockchain` process that connects to the IPC server connection running in `embark run`. The connection is made by way of polling `ipc.connect` and continues polling even after a connection is made in case `embark run` is killed and restarted without restarting `embark blockchain`.

`LogHandler` was introduced to extrapolate functionality used in `ProcessLauncher` that needed to also be used in the standalone blockchain process. It also caps the number of logs that are stored in memory per process by a constant value defined in `constants.json`.

A `blockchain_listener` was module was created (and run inside of `embark run`) that listens for logs emitted by the `embark blockchain` client IPC and runs them through the `LogHandler`. Additionally, this module registers the API endpoints needed to handle requests for blockchain process logs in the cockpit (which were 404’ing before).

# Conflicts:
#	lib/modules/blockchain_process/blockchain.js
2018-10-25 12:51:43 +02:00
.github Update PULL_REQUEST_TEMPLATE.md 2018-09-11 13:38:40 -04:00
bin remove --no-shim cli option 2018-10-22 19:43:16 +02:00
cmd Embark blockchain logs when running standalone 2018-10-25 12:51:43 +02:00
embark-ui Merge pull request #160 from status-im/feature/file-tree-icons 2018-10-25 06:13:25 -04:00
lib Embark blockchain logs when running standalone 2018-10-25 12:51:43 +02:00
locales Add support for Parity 2018-10-22 19:53:49 +02:00
templates fix embark ens and embark demo 2018-10-23 11:39:14 -04:00
test Remove another attack vector 2018-10-23 11:11:12 +02:00
test_apps move debugger to sidebar; fix config issue 2018-10-24 13:10:31 -04:00
.codeclimate.yml move demo and boilerplate to a templates folder 2018-03-29 19:23:24 -04:00
.editorconfig Add editor config 2018-10-22 19:25:16 +02:00
.eslintignore fix eslint on EVERYTHING 2018-10-23 10:26:14 +02:00
.eslintrc.json make linter happ-ier 2018-10-23 10:27:41 +02:00
.gitignore remove files that should not be in source control 2018-10-23 11:11:59 +02:00
.npmignore add test_apps/ & test/ to npmignore 2018-09-26 19:32:15 -04:00
.npmrc save-exact by default 2018-09-20 14:51:03 -05:00
.nycrc update code coverage condig 2016-10-22 21:02:11 -04:00
.travis.yml Merge pull request #892 from embark-framework/features/travis-node-current 2018-09-21 18:28:15 -04:00
CONTRIBUTING.md a good start on a contrib.md 2017-03-10 12:11:54 +09:00
LICENSE add license 2015-07-10 20:41:45 -04:00
README.md fix badges 2018-10-22 19:25:15 +02:00
appveyor.yml test node current release (10) in addition to node LTS release (8) 2018-09-21 17:22:35 -05:00
header.png Update header 2018-09-27 10:23:03 -04:00
logo.png add logo 2017-10-10 07:01:27 -04:00
npm-shrinkwrap.json shrinkwrap -- all http:// -> https:// 2018-10-24 14:08:23 -05:00
package.json npm-scripts alpha order 2018-10-24 14:08:23 -05:00

README.md

Embark

npm Gitter Build Status Build status Open PRs Closed PRs GitHub commit activity the past week, 4 weeks, year

What is Embark

Embark is a framework that allows you to easily develop and deploy Decentralized Applications (DApps).

A Decentralized Application is a serverless html5 application that uses one or more decentralized technologies.

Embark currently integrates with EVM blockchains (Ethereum), Decentralized Storages (IPFS), and Decentralized communication platforms (Whisper and Orbit). Swarm is supported for deployment.

With Embark you can:

Blockchain (Ethereum)

  • Automatically deploy contracts and make them available in your JS code. Embark watches for changes, and if you update a contract, Embark will automatically redeploy the contracts (if needed) and the dapp.
  • Contracts are available in JS with Promises.
  • Do Test Driven Development with Contracts using Javascript.
  • Keep track of deployed contracts; deploy only when truly needed.
  • Manage different chains (e.g testnet, private net, livenet)
  • Easily manage complex systems of interdependent contracts.

Decentralized Storage (IPFS)

  • Easily Store & Retrieve Data on the DApp through EmbarkJS. Including uploading and retrieving files.
  • Deploy the full application to IPFS or Swarm.

Decentralized Communication (Whisper, Orbit)

  • Easily send/receive messages through channels in P2P through Whisper or Orbit.

Web Technologies

  • Integrate with any web technology including React, Foundation, etc..
  • Use any build pipeline or tool you wish, including grunt, gulp and webpack.
$ npm -g install embark

See Complete Documentation.