Wondering what’s next for npm?Check out our public roadmap! »

    @parity/jsonrpc

    2.1.6 • Public • Published

    jsonrpc

    JSON file of all ethereum's rpc methods supported by parity

    Build Status Coverage Status Dependency Status devDependency Status

    interfaces

    interfaces.md contains the auto-generated list of interfaces exposed, along with their relevant documentation

    contributing

    1. Clone the repo
    2. Branch
    3. Add the missing interfaces only into src/interfaces/*.js
    4. 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'
    5. Run the lint & tests, npm run lint && npm run test
    6. Generate via npm run build which outputs index.js & index.json.
    7. (optional) Generate docs via npm run build:markdown which outputs md files to ./docs.
    8. Check-in and make a PR.

    Install

    npm i @parity/jsonrpc

    DownloadsWeekly Downloads

    64

    Version

    2.1.6

    License

    GPL-3.0

    Unpacked Size

    447 kB

    Total Files

    31

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar