GithubHelp home page GithubHelp logo

ecoblockchain / bigchaindb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benjaminbollen/bigchaindb

0.0 2.0 0.0 549 KB

A scalable blockchain database

Home Page: https://www.bigchaindb.com/

Python 100.00%

bigchaindb's Introduction

BigchainDB

Build Status

Documentation

Documentation is available at https://bigchaindb.readthedocs.org/

Getting started

Install RethinkDB on Ubuntu

# install rethinkdb https://rethinkdb.com/docs/install/ubuntu/
$ source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
$ wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install rethinkdb

# start rethinkdb
$ rethinkdb

Install BigchainDB

$ pip install bigchaindb

Running BigchainDB

Currently BigchainDB only supports Python 3.4+

Start the main process. If it's the first time bigchaindb will generate a default configuration file for you.

$ bigchaindb start

Generate some tests transactions:

$ bigchaindb-benchmark load # add '-m' if you want to use all your cores

To know more about the bigchain command run

$ bigchaindb -h

Importing BigchainDB from the interpreter (python/ipython)

Make sure your rethinkdb process is running.

>>> from bigchaindb import Bigchain
>>> b = Bigchain()
>>> b.me
'2B8C8PJxhycFzn4wncRhBNmMWwE5Frr9nLBUa1dGGxj5W'

Configuration

BigchainDB creates a default configuration file on $HOME/.bigchaindb on the first run.

$ bigchaindb show-config

Testing

$ py.test -v

bigchaindb's People

Contributors

andreasatascribe avatar sbellem avatar ttmc avatar vrde avatar

Watchers

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