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

remove IPDB references

This commit is contained in:
Matthias Kretschmann 2018-02-15 13:32:00 +01:00
parent 040feae22d
commit af557a1d30
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 11 additions and 11 deletions

View File

@ -6,14 +6,14 @@ Start by installing the official [BigchainDB JavaScript driver](https://github.c
npm i bigchaindb-driver
```
Then, include that as a module and connect to IPDB or any BigchainDB node. In the case of IPDB, create your own `app_id` and `app_key` on [IPDB](https://ipdb.io/#getstarted).
Then, include that as a module and connect to any BigchainDB node. You can create your own `app_id` and `app_key` on [BigchainDB Testnet](https://testnet.bigchaindb.com).
```js
const BigchainDB = require('bigchaindb-driver')
const API_PATH = 'https://test.ipdb.io/api/v1/'
const API_PATH = 'https://test.bigchaindb.com/api/v1/'
const conn = new BigchainDB.Connection(API_PATH, {
app_id: 'Get one from developers.ipdb.io',
app_key: 'Get one from developers.ipdb.io'
app_id: 'Get one from testnet.bigchaindb.com',
app_key: 'Get one from testnet.bigchaindb.com'
})
```

View File

@ -8,13 +8,13 @@ order: 2
learn: >
- How BigchainDB can be used to record dynamic parameters of an asset
- How decentralized identifiers can represent objects in BigchainDB
- How asset metadata is updated by using `TRANSFER` transactions to change the state of an asset (the mileage of a car in our example)
---
Hi there! Welcome to our next tutorial! For this tutorial, we assume that you are familiar with the BigchainDB primitives (assets, inputs, outputs, transactions etc.). If you are not, familiarize yourself with [Key concepts of BigchainDB](../key-concepts-of-bigchaindb/). We also assume that you have completed our [first tutorial](../tutorial-car-telemetry-app/).
Hi there! Welcome to our next tutorial! For this tutorial, we assume that you are familiar with the BigchainDB primitives (assets, inputs, outputs, transactions etc.). If you are not, familiarize yourself with [Key concepts of BigchainDB](../key-concepts-of-bigchaindb/).
# About digital twins
@ -41,7 +41,7 @@ const alice = new BigchainDB.Ed25519Keypair(bip39.mnemonicToSeed('seedPhrase').s
In telemetry applications, certain objects like in our case e.g. the car, need to have an identity to conduct actions in the system. Ideally, this identity is not controlled by anyone, such that the device can truly act autonomously. For these use cases, in BigchainDB we will use decentralized identifiers (DID) which are identifiers intended for verifiable digital identity that is "self-sovereign". They do not dependent on a centralized registry, identity provider, or certificate authority. You can learn more about it in our [DID specification](https://w3c-ccg.github.io/did-spec/).
So in our app, each object in the real world as the car, the telemetry box in the car, the GPS device, etc. will be represented by a DID. Each object will have a tag or cryptochip containing a securely hidden private key that serves as unique identity.
You will create a DID class that inherits from Orm BigchainDB driver, so DID objects will have all of the methods available in Orm. The `entity` represents the public key of the object itself.
You will create a DID class that inherits from Orm BigchainDB driver, so DID objects will have all of the methods available in Orm. The `entity` represents the public key of the object itself.
```js
@ -49,8 +49,8 @@ class DID extends Orm {
constructor(entity) {
super(
API_PATH, {
app_id: 'Get one from developers.ipdb.io',
app_key: 'Get one from developers.ipdb.io'
app_id: 'Get one from testnet.bigchaindb.com',
app_key: 'Get one from testnet.bigchaindb.com'
}
)
this.entity = entity
@ -73,7 +73,7 @@ userDID.define("myModel", "https://schema.org/v1/myModel")
carDID.define("myModel", "https://schema.org/v1/myModel")
gpsDID.define("myModel", "https://schema.org/v1/myModel")
```
As you can see, every object or actor (alice, car, GPS sensor) has now it's own key pair and identity in our system.
As you can see, every object or actor (alice, car, GPS sensor) has now it's own key pair and identity in our system.
# Digital registration of assets on BigchainDB

View File

@ -2,7 +2,7 @@
layout: page
title: The Hitchhiker Guides to BigchainDB
tagline: "These guides explain you how to get started and build apps with BigchainDB/IPDB"
tagline: "These guides explain you how to get started and build apps with BigchainDB"
image: share-image-guides.png
---