diff --git a/README.md b/README.md index a10653a..3ee89f0 100644 --- a/README.md +++ b/README.md @@ -16,21 +16,20 @@ ## Contents -* [Installation](#installation) +* [Node.js Installation and Usage](#node.js-installation-and-usage) * [Example: Create a transaction](#example-create-a-transaction) +* [Browser Installation and Usage](#browser-installation-and-usage) * [Documentation](#bigchaindb-documentation) * [Authors](#authors) * [License](#license) -## Node.js - -### Installation +## Node.js Installation and Usage ```bash npm install bigchaindb-driver ``` -#### Example: Create a transaction +### Example: Create a transaction ```js import * as driver from 'bigchaindb-driver' @@ -75,9 +74,7 @@ conn.postTransaction(txSigned) .then((res) => console.log('Transaction status:', res.status)) ``` -## Browser - -### Installation and Usage +## Browser Installation and Usage ```html @@ -127,13 +124,11 @@ conn.postTransaction(txSigned) conn.postTransaction(txSigned) .then(() => conn.getStatus(txSigned.id)) .then((res) => console.log('Transaction status:', res.status)) - + // Check console for the transaction's status + - -

Hello BigchainDB

- ```