Skip to content

Commit

Permalink
docs(readme): status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
sam bacha authored Jan 31, 2021
1 parent 13e82c8 commit af20d59
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# eth-json-rpc-infura
# eth-json-rpc-backbone

`json-rpc-engine` middleware for infura's REST endpoints.
![nodejs](https://github.com/backbonecabal/eth-json-rpc-backbone/workflows/nodejs/badge.svg)


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

### usage as provider

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

const provider = createCabalProvider({ network: 'mainnet', projectId: 'example' })
Expand All @@ -15,7 +18,7 @@ const eth = new Ethjs(provider)
### usage as middleware

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

const engine = new RpcEngine()
Expand Down

0 comments on commit af20d59

Please sign in to comment.