An open API service indexing awesome lists of open source software.

https://github.com/pokt-network/json-rpc-pocket

json-rpc-engine middleware for Pocket Network
https://github.com/pokt-network/json-rpc-pocket

infrastructure json-rpc-engine metamask nifty pocket pocket-network pokt pokt-network

Last synced: 3 months ago
JSON representation

json-rpc-engine middleware for Pocket Network

Awesome Lists containing this project

README

        



drawing


Overview


























[`json-rpc-engine`](https://github.com/MetaMask/json-rpc-engine) Middleware using Pocket Network to communicate with JSON RPC blockchain endpoints, mainly used in the [Metamask browser extension project.](https://github.com/MetaMask/metamask-extension)

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.](https://pocket-network.readme.io/docs/how-to-participate#section-for-developers)

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.](https://www.npmjs.com/get-npm)

Installation

The `json-rpc-pocket` package is hosted in [NPM](https://npmjs.com), 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:

```javascript
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!](https://discord.gg/sarhfXP)