cbcc369a2d
* Full API in Authenticated WS server. * Replacing UI server with Hyper. * Solving CLI, RPCs and tests. * Porting signer tests. * Fixing origin recognition for dapps/rpc. * Fixing tests. Adding parity-rpc-client to test. * Dapps exposed as RPC method. * JS code to support new connection scheme. * Fixing dapps tests. * Updating allowed origins/hosts to support web3.site. * Fixing tests, fixing UI. * Fixing tests. * Removing invalid tests. * Fixing merge. * 404 fallback for UI * Improve ContentFetcher constructor readability. * Naming. * Update .gitlab-ci.yml fix CI lint error * Fixing tests and linting issues. * Fixing new tests. * UI hosts. * Submodules fix. |
||
---|---|---|
.. | ||
interfaces | ||
.gitignore | ||
helpers.js | ||
index.js | ||
index.spec.js | ||
README.md | ||
types.js |
jsonrpc
JSON file of all ethereum's rpc methods supported by parity
interfaces
interfaces.md contains the auto-generated list of interfaces exposed, along with their relevant documentation
contributing
- Clone the repo
- Branch
- Add the missing interfaces only into
src/interfaces/*.js
- Parameters (array) & Returns take objects of type
{ type: [Array|Boolean|Object|String|...], desc: 'some description', example: 100|'0xff'|{ ... } }
- Types are built-in JS types or those defined in
src/types.js
(e.g.BlockNumber
,Quantity
, etc.) - If a formatter is required, add it as
format: 'string-type'
- Run the lint & tests,
npm run lint && npm run test
- Generate via
npm run build
which outputsindex.js
&index.json
. - (optional) Generate docs via
npm run build:markdown
which outputsmd
files to./docs
. - Check-in and make a PR.