Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms https://framework.embarklabs.io/
Go to file
emizzle 3b753e856c refactor(@embark/rpc-manager): Simplify RPC modifications
Managing account details inside of the RPC Manager became a bit convulted and difficult to follow due to any web3 requests inside of an `RpcModifier` communicating over the proxy and therefore to other `RpcModifier`’s or itself. It also created cases where node accounts were duplicated by way of running the `eth_accounts` modifier multiple times (the first time getting accounts from the node and subsequent times getting accounts from the modified `eth_accounts` response.

This has been simplified by having the entry point of the `rpc-manager` (`index.js`) talk directly to the node via `web3`. This allowed account/nodeAccount management to also be handled by the entry point, removing the need for each individual `RpcModifier` from having to handle these account details. The result is a much more simplified and and much easier to maintain code for RPC Manager.

The cases for which accounts can be modified (via `personal_newAccount` RPC call, and via test configuration change) are now handled in one place (the entry point) and propagated to the each `RpcModifier`.

Add `blockchain:started` command to request when the blockchain has been started. In this case, this is needed so that we know when we can create a direct connection to the node, instead of the proxy (as is the case in almost all other modules).

Extend action timeout when in debug mode.

1. These changs have made the `RpcModifier` base class essentially useless, however, it has been kept in place because it will be used for future DRY improvements to the `rpc-manager`.
2. These changes have been tested with the following DApps:
- Demo
- Test DApp
- Contracts test DApp
- Teller
2020-03-05 14:12:07 +11:00
.github ci: adjust Nightlies/release job so NPM credentials are always removed 2020-01-20 11:44:26 -06:00
dapps chore(prerelease): 5.3.0-nightly.4 2020-03-05 00:15:25 +00:00
packages refactor(@embark/rpc-manager): Simplify RPC modifications 2020-03-05 14:12:07 +11:00
scripts fix: ensure that packages properly specify their dependencies 2020-02-25 14:52:10 -06:00
site feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
.editorconfig Add editor config 2018-10-22 19:25:16 +02:00
.eslintrc.json fix: ensure that packages properly specify their dependencies 2020-02-25 14:52:10 -06:00
.gitattributes style: enable Solidity syntax highlighting on GitHub 2020-02-14 09:43:28 -06:00
.gitignore build: implement collective typecheck 2019-12-13 13:59:47 -05:00
.npmrc build: introduce a `prepare` script in embark's package.json 2018-12-03 16:24:10 -06:00
.yarnrc build: specify a high network timeout in root .yarnc 2019-02-14 01:26:22 -06:00
CHANGELOG.md chore(prerelease): 5.3.0-nightly.4 2020-03-05 00:15:25 +00:00
CODE_OF_CONDUCT.md chore(@embark) remove extra line 2018-12-24 16:14:01 -05:00
CONTRIBUTING.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
LICENSE add license 2015-07-10 20:41:45 -04:00
README.md docs: move root readme into packages/embark and symlink into root 2019-05-21 12:12:15 +02:00
azure-pipelines.yml feat: support Node.js v12.x and newer 2020-01-20 08:28:24 -06:00
babel.config.js fix: ensure that packages properly specify their dependencies 2020-02-25 14:52:10 -06:00
header.jpg docs: update header image for root README 2019-04-04 12:59:24 -04:00
lerna.json chore(prerelease): 5.3.0-nightly.4 2020-03-05 00:15:25 +00:00
package.json build(deps-dev): bump lerna from 3.19.0 to 3.20.2 2020-03-03 19:46:03 -06:00
tsconfig.base.json feat(plugins/scripts-runner): introduce exec command to run scripts 2020-02-12 16:47:04 -06:00
tsconfig.json feat(@embark/blockchain): make GanacheCLI the default dev blockchain 2020-02-14 09:14:45 -05:00
tslint.json fix: ensure that packages properly specify their dependencies 2020-02-25 14:52:10 -06:00
yarn.lock build(deps-dev): bump qs from 6.9.0 to 6.9.1 2020-03-04 13:59:08 -06:00

README.md

Embark

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

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, Swarm)

  • Easily Store & Retrieve Data on the DApp through EmbarkJS. Including uploading and retrieving files.
  • Deploy the full application to IPFS or Swarm.
  • Import and deploy contracts hosted on 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.