1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 09:46:58 +01:00

Merge pull request #102 from michielmulders/master

Small cleanup for js-docs
This commit is contained in:
michielmulders 2017-09-22 11:09:32 +02:00 committed by GitHub
commit db4054e1b2
2 changed files with 5 additions and 19 deletions

View File

@ -9,21 +9,6 @@ BigchainDB Javascript Driver Documentation
quickstart
usage
Another header
==============
Here is text and start quote::
print 'hello'
>> hello
Guide
^^^^^
Section testing
Indices and tables
==================

View File

@ -122,7 +122,7 @@ Sign the transaction with private key of Alice to fulfill it:
.. code-block:: js
const txCreateAliceSimpleSigned = driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey)
driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey)
And sent over to a BigchainDB node:
@ -194,7 +194,7 @@ Fulfill transaction by signing it with Alice's private key.
.. code-block:: js
txTransferBobSigned = driver.Transaction.signTransaction(txTransferBob, alice.privateKey);
driver.Transaction.signTransaction(txTransferBob, alice.privateKey);
And sent over to a BigchainDB node:
@ -357,11 +357,12 @@ Recap: Asset Creation & Transfer
.then(() => conn.searchAssets('Bicycle Inc.'))
.then(assets => console.log('Found assets with serial number Bicycle Inc.:', assets))
Divisible Assets
----------------
Yet to come!
.. TODO:
.. - Add lexer: https://stackoverflow.com/questions/4259105/which-sphinx-code-block-language-to-use-for-json
.. - Add divisible assets example
.. - Add more readable code with promises possibly.