Git Product home page Git Product logo

dbh17's Introduction

DBH17: BigchainDB Kyber Version

BigchainDB opens a public API for the Dutch Blockchain Hackathon '17!

What?! ¯\_(ツ)_/¯

Vanilla

Meet our classic, pristine BigchainDB network running on v0.9.1.

Connect to our API using the following URL:

http://vanilla.ipdb.foundation:9984/

Getting started? Have a look at our docs:

Kyber [Use this one!]

Welcome to our Hackathon Laboratory!

Our kyber version of BigchainDB will be built during this hackathon. To say it in Dunglish: You ask, we turn!

The repo of experimental code is here and the instance is running at:

http://kyber.ipdb.foundation/

The vanilla API is available under

http://kyber.ipdb.foundation/api/v1/

The intergalactic experimental API can be found under:

http://kyber.ipdb.foundation/api/kyber/

and the API code can be found under bigchaindb-kyber

We'll also take requests for the drivers (python and JS)... just give us a shout

Use with the driver:

from bigchaindb_driver import BigchainDB

bdb = BigchainDB('http://kyber.ipdb.foundation')
print(bdb.info())

Run locally

If you have docker-compose installed, you can spin it up locally:

make

If you already built the images:

make run

Stop the containers:

make stop

Experimental code

Asset evaluation

You can add a (limited) script in the asset field and it will be executed. Upon error of the execution of the script the transaction is INVALID.

We provide some basic bigchain commands to query the DB on the server side. For example, to query the unspent output transactions for a specific public key.

asset = {
    'script': "if len(bigchain.get_outputs_filtered('{}', True)) < 1: raise".format("<my_pub_key>")
}

(Other functions can be found in the Bigchain connection code). Ofcourse, we will limit this to the get_ methods only.

Also, the execution is time bound to 1s.

WARNING: This code may make BigchainDB less deterministic!

What Else?

"Make BigchainDB Big!"

We'll be monitoring the performance of our kyber network.

The logs will be available as assets - and we're curious to see how much data will be produced during the hackathon.

Stay Tuned!

dbh17's People

Contributors

diminator avatar krish7919 avatar sbellem 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.