From 710ffbb4874c33b86f5e375cfb5410dc086172c6 Mon Sep 17 00:00:00 2001 From: tim Date: Thu, 22 Jun 2017 10:34:18 +0200 Subject: [PATCH] Minor changes to readme --- README.md | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d1e6a31..2c07b9b 100644 --- a/README.md +++ b/README.md @@ -17,21 +17,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' @@ -76,9 +75,7 @@ conn.postTransaction(txSigned) .then((res) => console.log('Transaction status:', res.status)) ``` -## Browser - -### Installation and Usage +## Browser Installation and Usage ```html @@ -128,13 +125,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

- ```