Ruby library that uses BigChainDB's CLI tool to prepare/sign transactions and submit them to IPDB or a BigChainDB Node
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
LICENSE
README.md
bigchaindb.gemspec
test.rb

README.md

bigchaindb-ruby-client

Ruby library that uses BigchainDB's CLI tool to prepare/sign transactions and submit them to IPDB or a BigchainDB Node.

Installation

As a prerequisite, you must have BigchainDB's CLI tool in your path: https://github.com/bigchaindb/bdb-transaction-cli

Then install this project from RubyGems:

gem install bigchaindb

Usage

irb> require 'bigchaindb'
irb> Bdb.generate_keys

See example of a full transaction flow in lib/bigchaindb.rb

Testing

IPDB_APP_ID=<app_id> IPDB_APP_KEY=<app_key> ruby test.rb