eth-json-rpc-infura
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Last updated 9 years ago by kumavis .
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
Maintainers (1)
Downloads
Total 77
Today 2
This Week 2
This Month 55
Last Day 0
Last Week 0
Last Month 5
Dependencies (4)
Dev Dependencies (0)
None

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