Giter VIP home page Giter VIP logo

bigchaindb-examples's Introduction

BigchainDB Examples

Status Documentation Status Join the chat at https://gitter.im/bigchaindb/bigchaindb

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:

Dependencies

The examples can be run via Docker (recommended), but, if you'd like, you can also run them locally with the following system dependencies:

Quick start

Docker

To run via Docker, set up your docker environment as necessary and:

$ make

Note: If using docker-machine, you'll have to run make with your docker-machine ip:

$ DOCKER_MACHINE_IP=$(docker-machine ip) make

The app will be available at http://localhost:33000 (replace localhost with your docker-machine ip as necessary).

Locally

If you'd like to run these examples locally (preferably in a virtualenv), you can do so using the handy CLI:

$ bigchaindb-examples --help

# Start everything
$ bigchaindb-examples start --init --all

# Reset everything
$ bigchaindb-examples reset-all

The app will be available at http://localhost:3000.

Example: "On the Record"

"On the Record" is a simple logging app, wrapped as a messaging board.

Use cases

  • Immutable logging of data
  • Notarization of data, text, emails

Functionality

Create assets

  • with arbitrary payload
  • and an unlimited amount

Retrieve assets

  • that you currently own (like UTXO's)
  • by searching the asset data/payload
  • state indicator (in backlog vs. on bigchain)

What this app doesn't provide

  • Proper user and key management
  • Transfer of assets

Example: Share Trader

Share Trader is a simple share allocation and trade app. Each square represents an asset that can be traded amongst accounts.

Use cases

  • Reservation of tickets, seats in a concert/transport, ...
  • Trade of limited issued assets

Functionality

Create assets

  • assets are created following a structured payload
  • the amount is limited

Transfer assets

  • 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.

Retrieve assets

  • that you currently own (like UTXO's)
  • all assets on bigchain
  • state indicator (blinks if asset has various owners)

What this app doesn't provide

  • Proper user and key management
  • Proper signing of transfers
  • Proper search by payload

Example: Interledger

TODO

Acknowledgements:

Special thanks to the BigchainDB/ascribe.io team for their insights and code contributions:

@r-marques, @vrde, @ttmc, @rhsimplex, @SohKai, @sbellem, @TimDaub

bigchaindb-examples's People

Contributors

diminator avatar sohkai avatar sbellem avatar

Watchers

James Cloos avatar Bellerophon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.