mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-25 03:03:16 +01:00
Merge pull request #175 from ascribe/fixed-example-python-code
Fixed example Python code
This commit is contained in:
commit
eec14559a0
@ -89,9 +89,9 @@ from bigchaindb_driver.crypto import generate_keypair
|
||||
|
||||
|
||||
bdb = BigchainDB(
|
||||
'{{ site.ipdb_api_url }}/api/v1/',
|
||||
headers={'app_id': 'Get one from developers.ipdb.io',
|
||||
'app_key': 'Same as app_id'})
|
||||
'{{ site.ipdb_api_url }}',
|
||||
headers={'app_id': 'Get credentials from developers.ipdb.io',
|
||||
'app_key': 'by signing up and going to your Applications screen'})
|
||||
alice = generate_keypair()
|
||||
tx = bdb.transactions.prepare(
|
||||
operation='CREATE',
|
||||
@ -114,8 +114,8 @@ const driver = require('bigchaindb-driver')
|
||||
const alice = new driver.Ed25519Keypair()
|
||||
const conn = new driver.Connection(
|
||||
'{{ site.ipdb_api_url }}/api/v1/',
|
||||
{ app_id: 'Get one from developers.ipdb.io',
|
||||
app_key: 'Same as app_id' })
|
||||
{ app_id: 'Get credentials from developers.ipdb.io',
|
||||
app_key: 'by signing up and going to your Applications screen' })
|
||||
const tx = driver.Transaction.makeCreateTransaction(
|
||||
{ message: 'Blockchain all the things!' },
|
||||
null,
|
||||
|
Loading…
Reference in New Issue
Block a user