eth-json-rpc-infura

json-rpc-engine middleware for Infura's endpoints

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Last updated 6 years ago by rekmarks .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install eth-json-rpc-infura 
SYNC missed versions from official npm registry.

eth-json-rpc-infura

json-rpc-engine middleware for infura's REST endpoints.

usage as provider

const createInfuraProvider = require('eth-json-rpc-infura/src/createProvider')
const Ethjs = require('ethjs')

const provider = createInfuraProvider({ network: 'mainnet', projectId: 'example' })
const eth = new Ethjs(provider)

usage as middleware

const createInfuraMiddleware = require('eth-json-rpc-infura')
const RpcEngine = require('json-rpc-engine')

const engine = new RpcEngine()
engine.push(createInfuraMiddleware({ network: 'ropsten', projectId: 'example' }))

Current Tags

  • 5.1.0                                ...           latest (6 years ago)

27 Versions

  • 5.1.0 [deprecated]           ...           6 years ago
  • 5.0.0 [deprecated]           ...           6 years ago
  • 4.1.0 [deprecated]           ...           6 years ago
  • 4.0.2 [deprecated]           ...           7 years ago
  • 3.2.1 [deprecated]           ...           7 years ago
  • 4.0.1 [deprecated]           ...           7 years ago
  • 4.0.0 [deprecated]           ...           8 years ago
  • 3.2.0 [deprecated]           ...           8 years ago
  • 3.1.2 [deprecated]           ...           9 years ago
  • 3.1.1 [deprecated]           ...           9 years ago
  • 3.1.0 [deprecated]           ...           9 years ago
  • 3.0.0 [deprecated]           ...           9 years ago
  • 2.0.11 [deprecated]           ...           9 years ago
  • 2.0.10 [deprecated]           ...           9 years ago
  • 2.0.9 [deprecated]           ...           9 years ago
  • 2.0.8 [deprecated]           ...           9 years ago
  • 2.0.7 [deprecated]           ...           9 years ago
  • 2.0.6 [deprecated]           ...           9 years ago
  • 2.0.5 [deprecated]           ...           9 years ago
  • 2.0.4 [deprecated]           ...           9 years ago
  • 2.0.3 [deprecated]           ...           9 years ago
  • 2.0.2 [deprecated]           ...           9 years ago
  • 2.0.1 [deprecated]           ...           9 years ago
  • 2.0.0 [deprecated]           ...           9 years ago
  • 1.0.2 [deprecated]           ...           9 years ago
  • 1.0.1 [deprecated]           ...           9 years ago
  • 1.0.0 [deprecated]           ...           9 years ago
Downloads
Total 75
Today 0
This Week 0
This Month 53
Last Day 0
Last Week 9
Last Month 5
Dependencies (4)
Dev Dependencies (4)

© 2010 - cnpmjs.org x YWFE | Home | YWFE