Skip to content
The easiest way to create, and use, Bitcoin, Dogecoin, and Litecoin wallets for payments as everyday users, and merchants.
Branch: master
Clone or download
Latest commit ea0aabd Jun 26, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples prep for v1.2.0 Jun 26, 2018
.gitignore prep for v1.2.0 Jun 26, 2018
Gemfile first commit Jun 23, 2014
LICENSE Initial commit Jun 23, 2014
Rakefile first commit Jun 23, 2014


This Ruby Gem is the official reference client for the payments API. To use this, you will need the Dogecoin, Bitcoin, or Litecoin API key(s) from Go ahead, sign up :)


Add this line to your application's Gemfile:

gem 'block_io'

And then execute:

$ bundle

Or install it yourself as:

$ gem install block_io -v=1.2.0


06/25/18: Remove support for Ruby < 1.9.3 (OpenSSL::Cipher::Cipher). Remove connection_pool dependency.
01/21/15: Added ability to sweep coins from one address to another.
11/04/14: Fix issue with nil parameters in an API call.
11/03/14: Reduce dependence on OpenSSL. PBKDF2 function is now Ruby-based. Should work well with Heroku's libraries.
10/18/14: Now using deterministic signatures (RFC6979), and BIP62 to hinder transaction malleability.


It's super easy to get started. In your Ruby shell ($ irb), for example, do this:

require 'block_io'
BlockIo.set_options :api_key => 'API KEY', :pin => 'SECRET PIN', :version => 2

And you're good to go:


For more information, see


  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.