This repo contains examples and tutorials for BigchainDB.
Warning: These examples are for demonstration purposes and should not be used as-is for production
See the documentation:
Examples:
The examples can be run via Docker (recommended), but, if you'd like, you can run them locally with the following system dependencies:
- OS dependencies: see setup BigchainDB & RethinkDB
- python>=3.4
- node>=5.3 using nvm (recommended), or manually
- npm>=3.3 (should be installed with node)
"On the Record" is a simple logging app, wrapped as a messaging board.
You should see the app running on http://localhost:3000/ontherecord/,
or if running docker, http://docker-machine:32800/ontherecord/
(replace docker-machine
as
necessary with localhost
or your docker-machine ip).
- Immutable logging of data
- Notarization of data, text, emails
- with arbitrary payload
- and an unlimited amount
- that you currently own (like UTXO's)
- by searching the asset data/payload
- state indicator (in backlog vs. on bigchain)
- Proper user and key management
- Transfer of assets
Share Trader is a simple share allocation and trade app. Each square represents an asset that can be traded amongst accounts.
You should see the app running on http://localhost:3000/sharetrader/,
or if running on docker, http://docker-machine:32800/sharetrader/
(replace docker-machine
as
necessary with localhost
or your docker-machine ip).
- Reservation of tickets, seats in a concert/transport, ...
- Trade of limited issued assets
- assets are created following a structured payload
- the amount is limited
- easy transfer of assets between accounts by:
- clicking on an account first. This will give the assets for that account
- clicking on an asset of that account. Transfer actions will appear on the right side.
- that you currently own (like UTXO's)
- all assets on bigchain
- state indicator (blinks if asset has various owners)
- Proper user and key management
- Proper signing of transfers
- Proper search by payload
Special thanks to the BigchainDB/ascribe.io team for their insights and code contributions:
@r-marques, @vrde, @ttmc, @rhsimplex, @SohKai, @sbellem, @TimDaub