Bitcoin Forum
September 25, 2016, 08:49:13 PM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: The Bitcoin Rubygem  (Read 1807 times)
reQunix
Newbie
*
Offline Offline

Activity: 1


Web Developer at Platform45


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

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!

http://about.me/requnix (http://about.me/requnix)

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.
1474836553
Hero Member
*
Offline Offline

Posts: 1474836553

View Profile Personal Message (Offline)

Ignore
1474836553
Reply with quote  #2

1474836553
Report to moderator
1474836553
Hero Member
*
Offline Offline

Posts: 1474836553

View Profile Personal Message (Offline)

Ignore
1474836553
Reply with quote  #2

1474836553
Report to moderator
1474836553
Hero Member
*
Offline Offline

Posts: 1474836553

View Profile Personal Message (Offline)

Ignore
1474836553
Reply with quote  #2

1474836553
Report to moderator
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



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

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
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


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

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 http://bitcointalk.org/index.php?topic=2435.0 for my approach

jesmurf
Jr. Member
*
Offline Offline

Activity: 33



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

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.
https://github.com/jjeffus/rpcjson

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

- Jonathan


Donations?: 1GTLXA2C2ksFbyabsgaAiYMFgzv2DfNSkS
Pages: [1]
  Print  
 
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!