.. | ||
generator | ||
interfaces | ||
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' }
- 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 testOnce
- Generate via
npm run build
which outputsindex.js
,index.json
&interfaces.md
(Only required until Travis is fully in-place) - Check-in and make a PR