json-rpc-pocket

    0.0.1 • Public • Published

    Overview

    json-rpc-engine Middleware using Pocket Network to communicate with JSON RPC blockchain endpoints, mainly used in the Metamask browser extension project.

    Before you can start using the library, you have to get a Developer ID by registering for MVP. To learn how to register please click here.

    Requirements

    You should have at least have a basic knowledge of blockchain technology and know your way around Javascript. You will also need to install the NPM tool.

    Installation

    The json-rpc-pocket package is hosted in NPM, see below how to install it.

    npm install --save json-rpc-pocket

    Usage

    In order to instatiate the middleware all you need is a Developer ID like in the example below:

    const createPocketMiddleware = require('json-rpc-pocket')
    const pocketMiddleware = createPocketMiddleware(devID)

    Contact Us

    We have created a Discord server where you can meet with the Pocket team and the rest of the community. Click here to join!

    Install

    npm i json-rpc-pocket

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    10.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • pabelnl