Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms https://framework.embarklabs.io/
Go to file
emizzle 9f7c6828a8 fix(@embark/proxy): Parse `rpcPort` from config as integer
## User reported error
i recently updated to embark 5.0 im having issues connecting to a local node each time i connect to it i get the following output from the embark console

```
Error during proxy setup: Port should be >= 0 and < 65536. Received 754510.. Use '--loglevel debug' for more detailed information.
```

This is what i have under the blockchain.js  file
```
localDev: {
    endpoint: "http://127.0.0.1:7545",
    accounts: [{
      nodeAccounts: true,
    }]
  }
```
### Problem
The port to start the proxy on is incremented by a constant value (using the `+` operator), however the port comes from the config and in the case where it is a string, the `+` operator acts as a string concatentation.

### Fix
Ensure the port from the config is always parsed to a number before attempting to add the constant proxy port offset.
2020-01-22 11:18:16 -05: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.1.0-nightly.3 2020-01-22 00:13:43 +00:00
packages fix(@embark/proxy): Parse `rpcPort` from config as integer 2020-01-22 11:18:16 -05:00
scripts ci: implement a nightlies GitHub Actions workflow 2020-01-16 17:45:26 -06:00
site build(deps): bump uuid from 3.3.3 to 3.4.0 in /site 2020-01-19 16:22:11 -06:00
.editorconfig Add editor config 2018-10-22 19:25:16 +02:00
.eslintrc.json refactor(@embark/library-manager): restrict versionable packages to only solc 2019-11-08 11:27:20 -06:00
.gitattributes build: `* text=auto` -> `* text=auto eol=lf` 2019-09-15 15:17:45 -05: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.1.0-nightly.3 2020-01-22 00:13:43 +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 refactor(@embark/core): move Engine into embark-core 2019-11-11 17:00:01 +01:00
header.jpg docs: update header image for root README 2019-04-04 12:59:24 -04:00
lerna.json chore(prerelease): 5.1.0-nightly.3 2020-01-22 00:13:43 +00:00
package.json feat: support Node.js v12.x and newer 2020-01-20 08:28:24 -06:00
tsconfig.base.json build: implement collective typecheck 2019-12-13 13:59:47 -05:00
tsconfig.json refactor(@embark/suggestions): move suggestions API into plugin 2020-01-20 11:35:29 +01:00
tslint.json refactor(@embark/core): move Engine into embark-core 2019-11-11 17:00:01 +01:00
yarn.lock build(deps): bump ganache-cli from 6.7.0 to 6.8.2 2020-01-21 15:13:01 -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.