Merge branch 'roderik-fix/docs-crypto-move' into develop

This commit is contained in:
troymc 2016-04-03 17:43:31 +02:00
commit 4cb6d0a0f4

View File

@ -40,8 +40,10 @@ At a high level, a "digital asset" is something which can be represented digital
In BigchainDB, only the federation nodes are allowed to create digital assets, by doing a special kind of transaction: a `CREATE` transaction.
```python
from bigchaindb import crypto
# create a test user
testuser1_priv, testuser1_pub = b.generate_keys()
testuser1_priv, testuser1_pub = crypto.generate_key_pair()
# define a digital asset data payload
digital_asset_payload = {'msg': 'Hello BigchainDB!'}