json-rpc-engine
middleware for Backbone Cabal's REST endpoints.
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)
const createCabalMiddleware = require('eth-json-rpc-backbone')
const RpcEngine = require('json-rpc-engine')
const engine = new RpcEngine()
engine.push(createCabalMiddleware({ network: 'ropsten', projectId: 'example' }))