openethereum/js
kaikun213 349316f70e PubSub for parity-js (#5830)
* PubSub Integration WebSocket

* PubSub Provider API

* Parity License and fix switch statement

* Minor fix: use parameter api

* Exclude subscriptionId return

* Unsubscribe parameters as array

* secureProvider API added

* isSecure check

* Refractor: Formatting in callback (no Promise)

* Tests for parityProvider

* Refractor: Formatting in callback (secure API)

* Updated transaction documentation

* Module instead of API-Names, Options always as array (e.g. empty)

'parity' instead of 'parity_subscribe' calls
params with empty array as options. If eth_subscribe includes empty array parity-core will send invalid request (eth api doesn't have options)

* Removed isSecure transport check, because APIs are configurable

* Refractor Provider API to single Pubsub

* Modify transport layer to have single identifier for subscriptions

* FIX: Display pubsub errors

* Discard Messages after unsubscribing

* Fix: display error normal messages correctly

* Simplified code, removed unnecessary pubsub methods

* trace_call API 2nd argument blockNumber, first whatTrace

https://github.com/paritytech/parity/wiki/JSONRPC-trace-module#trace_call

* Separate namespaces pubsub. eth, parity, net

* Keep error for messages from unsubscribed topics.

* Fix: Unsubscribe Promise

* Add Test: Unsubscribe promise resolved

* Fix: 'error' in params
2017-07-06 09:50:27 +02:00
..
assets Refactoring of the Dapp Registry (#4589) 2017-03-10 13:31:57 +01:00
npm Updating paths to repos. (#5330) 2017-03-29 15:17:27 +02:00
scripts Updating documentation for RPCs (#5392) 2017-04-08 11:28:04 +02:00
src PubSub for parity-js (#5830) 2017-07-06 09:50:27 +02:00
test PubSub for parity-js (#5830) 2017-07-06 09:50:27 +02:00
wasm Public node WASM, performance and fixes (#5734) 2017-06-12 15:57:16 +02:00
webpack Empty local middleware, until explicitly requested (#5912) 2017-06-23 13:40:16 +02:00
.babelrc Use babel-runtime as opposed to babel-polyfill (#5662) 2017-05-19 16:51:15 +02:00
.codeclimate.yml Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.editorconfig Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.eslintrc.json Eslint formatting updates (#4234) 2017-01-23 13:39:52 +01:00
.gitignore YARN (#5395) 2017-04-26 11:33:29 +02:00
.istanbul.yml Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.npmignore Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
.npmrc Allow signing via Qr (#4881) 2017-03-31 23:36:24 +02:00
.stylelintrc.json Add lint:css 2016-12-14 16:42:26 +01:00
build.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
Cargo.precompiled.toml Updating syntex et al (#4983) 2017-03-21 23:26:05 +03:00
Cargo.toml Updating syntex et al (#4983) 2017-03-21 23:26:05 +03:00
LICENSE Initial new UI source code import (#2607) 2016-10-18 11:52:56 +02:00
package.json [ci skip] js-precompiled 20170627-213135 2017-06-27 21:35:37 +00:00
README.md Switch --signer- to --ui- 2016-11-12 15:21:51 +01:00
yarn.lock Recover from empty phrase in dev mode (#5698) 2017-05-30 19:28:50 +02:00

parity.js

JavaScript APIs and UIs for Parity.

development

  1. Install Node if not already available
  2. Change to the js directory inside parity/
  3. Install the npm modules via npm install
  4. Parity should be run with parity --ui-no-validation [...options] (where options can be --chain testnet)
  5. Start the development environment via npm start
  6. Connect to the UI