Skip to content

Commit

Permalink
Merge branch 'master' into release/3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lnbc1QWFyb24 authored Jan 9, 2022
2 parents 3e0b3a9 + 9d21629 commit 1b45ee4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A lightweight JavaScript sdk to connect to the Blocknative backend Ethereum node

`npm install bnc-sdk`

### Quick Start (node js)
### Quick Start (Node.js)

#### Transaction Monitor

Expand All @@ -17,7 +17,7 @@ import WebSocket from 'ws'
import BlocknativeSdk from 'bnc-sdk'
import Web3 from 'web3'

const web3 = new Web3('ws://some.local-or-remote.node:8546')
const web3 = new Web3('<ws://some.local-or-remote.node:8546>')

// create options object
const options = {
Expand Down Expand Up @@ -64,7 +64,7 @@ import WebSocket from 'ws'
import BlocknativeSdk from 'bnc-sdk'
import Web3 from 'web3'

const web3 = new Web3('ws://some.local-or-remote.node:8546')
const web3 = new Web3('<ws://some.local-or-remote.node:8546>')

// create options object
const options = {
Expand All @@ -87,7 +87,7 @@ emitter.on('all', transaction => {
})
```

### Quick Start (browser)
### Quick Start (Browser)

#### Transaction Monitor

Expand Down Expand Up @@ -132,7 +132,6 @@ web3.eth.sendTransaction(txOptions).on('transactionHash', hash => {
console.log(`Transaction event: ${transaction.eventCode}`)
})
})
```

#### Address Listener

Expand Down

0 comments on commit 1b45ee4

Please sign in to comment.