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

change app_id & app_key notes

This commit is contained in:
Matthias Kretschmann 2017-09-09 13:28:12 +02:00 committed by GitHub
parent 3f26e0fb38
commit 4646af6804

View File

@ -90,8 +90,8 @@ from bigchaindb_driver.crypto import generate_keypair
bdb = BigchainDB( bdb = BigchainDB(
'{{ site.ipdb_api_url }}', '{{ site.ipdb_api_url }}',
headers={'app_id': 'Get one from developers.ipdb.io', headers={'app_id': 'Get credentials from developers.ipdb.io',
'app_key': 'Same as app_id'}) 'app_key': 'by signing up and going to your Applications screen'})
alice = generate_keypair() alice = generate_keypair()
tx = bdb.transactions.prepare( tx = bdb.transactions.prepare(
operation='CREATE', operation='CREATE',
@ -114,8 +114,8 @@ const driver = require('bigchaindb-driver')
const alice = new driver.Ed25519Keypair() const alice = new driver.Ed25519Keypair()
const conn = new driver.Connection( const conn = new driver.Connection(
'{{ site.ipdb_api_url }}/api/v1/', '{{ site.ipdb_api_url }}/api/v1/',
{ app_id: 'Get one from developers.ipdb.io', { app_id: 'Get credentials from developers.ipdb.io',
app_key: 'Same as app_id' }) app_key: 'by signing up and going to your Applications screen' })
const tx = driver.Transaction.makeCreateTransaction( const tx = driver.Transaction.makeCreateTransaction(
{ message: 'Blockchain all the things!' }, { message: 'Blockchain all the things!' },
null, null,