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.
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.
The json-rpc-pocket
package is hosted in NPM, see below how to install it.
npm install --save json-rpc-pocket
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)
We have created a Discord server where you can meet with the Pocket team and the rest of the community. Click here to join!