mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 17:50:09 +01:00
Merge pull request #102 from michielmulders/master
Small cleanup for js-docs
This commit is contained in:
commit
db4054e1b2
@ -9,21 +9,6 @@ BigchainDB Javascript Driver Documentation
|
|||||||
quickstart
|
quickstart
|
||||||
usage
|
usage
|
||||||
|
|
||||||
|
|
||||||
Another header
|
|
||||||
==============
|
|
||||||
|
|
||||||
Here is text and start quote::
|
|
||||||
|
|
||||||
print 'hello'
|
|
||||||
>> hello
|
|
||||||
|
|
||||||
Guide
|
|
||||||
^^^^^
|
|
||||||
|
|
||||||
Section testing
|
|
||||||
|
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ Sign the transaction with private key of Alice to fulfill it:
|
|||||||
|
|
||||||
.. code-block:: js
|
.. code-block:: js
|
||||||
|
|
||||||
const txCreateAliceSimpleSigned = driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey)
|
driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey)
|
||||||
|
|
||||||
And sent over to a BigchainDB node:
|
And sent over to a BigchainDB node:
|
||||||
|
|
||||||
@ -194,7 +194,7 @@ Fulfill transaction by signing it with Alice's private key.
|
|||||||
|
|
||||||
.. code-block:: js
|
.. code-block:: js
|
||||||
|
|
||||||
txTransferBobSigned = driver.Transaction.signTransaction(txTransferBob, alice.privateKey);
|
driver.Transaction.signTransaction(txTransferBob, alice.privateKey);
|
||||||
|
|
||||||
And sent over to a BigchainDB node:
|
And sent over to a BigchainDB node:
|
||||||
|
|
||||||
@ -357,11 +357,12 @@ Recap: Asset Creation & Transfer
|
|||||||
.then(() => conn.searchAssets('Bicycle Inc.'))
|
.then(() => conn.searchAssets('Bicycle Inc.'))
|
||||||
.then(assets => console.log('Found assets with serial number Bicycle Inc.:', assets))
|
.then(assets => console.log('Found assets with serial number Bicycle Inc.:', assets))
|
||||||
|
|
||||||
|
|
||||||
Divisible Assets
|
Divisible Assets
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
Yet to come!
|
||||||
|
|
||||||
.. TODO:
|
.. TODO:
|
||||||
.. - Add lexer: https://stackoverflow.com/questions/4259105/which-sphinx-code-block-language-to-use-for-json
|
.. - Add lexer: https://stackoverflow.com/questions/4259105/which-sphinx-code-block-language-to-use-for-json
|
||||||
.. - Add divisible assets example
|
.. - Add divisible assets example
|
||||||
|
.. - Add more readable code with promises possibly.
|
Loading…
Reference in New Issue
Block a user