Skip to content

pokt-network/json-rpc-pocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!