Bitcoin Forum
June 19, 2018, 01:00:14 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: The Bitcoin Rubygem  (Read 1906 times)
Offline Offline

Activity: 1
Merit: 0

Web Developer at Platform45

View Profile WWW
December 05, 2010, 09:53:02 PM

Hi all,

I've started work on a Ruby Gem for accessing the vanilla bitcoin client. It uses the CLI interface and it currently has support for about half of the API calls.

The gem will make it possible to integrate bitcoin transactions into, amongst others, Ruby on Rails applications. It's still a work in progress, but this will make it easier for those looking to build custom sites with bitcoin support. I will be building a site that makes use of the gem very soon which will allow me to bugfix and experiment. I also intend to build in some utility functions that will help organise transactions.

See my blog post about it here, the source code here and the download and documentation here.

I'll try to post updates here as I progress. Feel free to ask questions about it or make suggestions.

Oh, and by way of introduction, since this is my first post, this is me.

Cheers! (

Support the Bitcoin Gem: 18V4MzDwX7q4548aXQoBeg7kedPzs67FsE
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Hero Member
Offline Offline

Activity: 723
Merit: 500

View Profile
January 02, 2011, 06:15:09 PM

Which client is this based on?  There have been some useful changes in recent client releases, particularly listtransactions.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
Offline Offline

Activity: 1372
Merit: 1002


View Profile WWW
January 02, 2011, 06:37:38 PM

It's nice but you're doing it wrong.

Looked at your code, here are two comments :
 - You're relying on executable calls, you should send HTTP requests instead
 - Instead of duplicating every possible method call in your code you should simply rely on method_missing

See for my approach

Jr. Member
Offline Offline

Activity: 33
Merit: 0

View Profile
January 14, 2011, 12:07:13 AM

Not bad. It's an exciting idea. I'm working on the same kind of thing. At the moment I'm integrating Spreecommerce with Bitcoin as a payment processor.

Check out my JSON-RPC client here.

I'll keep an eye on your blog. I'm interested to see what else you're doing.

- Jonathan

Donations?: 1GTLXA2C2ksFbyabsgaAiYMFgzv2DfNSkS
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!