Skip to content

json-rpc-engine middleware for accessing backbone cabal's RPC layer

License

Notifications You must be signed in to change notification settings

backbonecabal/eth-json-rpc-backbone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-json-rpc-backbone

nodejs

json-rpc-engine middleware for Backbone Cabal's REST endpoints.

usage as provider

const createCabalProvider = require('eth-json-rpc-backbone/src/createProvider')
const Ethjs = require('ethjs')

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

usage as middleware

const createCabalMiddleware = require('eth-json-rpc-backbone')
const RpcEngine = require('json-rpc-engine')

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

About

json-rpc-engine middleware for accessing backbone cabal's RPC layer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%