Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Maxim Gladkov on July 13, 2011, 08:16:20 PM



Title: Is there any rails gem to provide bitcoin payment on website?
Post by: Maxim Gladkov on July 13, 2011, 08:16:20 PM
The subject says all.
I'm looking for a gem to add btc support to my existing web app. Is there any?


Title: Re: Is there any rails gem to provide bitcoin payment on website?
Post by: drawoc on July 13, 2011, 09:48:01 PM
The subject says all.
I'm looking for a gem to add btc support to my existing web app. Is there any?

You can normally just use your language's JSON-RPC libraries.
I haven't coded in ruby before, but there's an example using Ruby here:
https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29#Ruby (https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29#Ruby)
And a thread on the subject here: http://forum.bitcoin.org/?topic=2435.0 (http://forum.bitcoin.org/?topic=2435.0)


Title: Re: Is there any rails gem to provide bitcoin payment on website?
Post by: davout on July 13, 2011, 09:50:50 PM
https://github.com/davout/bitcoin-central


Title: Re: Is there any rails gem to provide bitcoin payment on website?
Post by: Wuked on July 13, 2011, 10:51:52 PM
Thanks to Daveout for all his rails work,

I'm using some of his stuff on https://mineco.in

I will donate when I have some free BTC.



Title: Re: Is there any rails gem to provide bitcoin payment on website?
Post by: Maxim Gladkov on July 14, 2011, 08:19:29 AM
Thank you. Will try to discover your code ;)

It would be cool, if there will be any gems for this, that would right out-of-the-box. Maybe should start coding one :)


Title: Re: Is there any rails gem to provide bitcoin payment on website?
Post by: sailias on August 29, 2014, 01:41:15 AM
A new response to an old topic.

https://github.com/Sailias/bitcoin_payable (https://github.com/Sailias/bitcoin_payable)

A gem I've created that can be included in a rails app.

It creates payments with unique addresses from a BIP32 Deterministic seed. These payments use different currencies to get exchanges rates from currency -> BTC.

A rake task is used to update payments every 30 mins with the BTC 24 hour weighted average while another uses https://helloblock.io (https://helloblock.io) to check for payments.

It is not a shopping cart solution, but a bitcoin payment generator / processor gem that doesn't require indexing the blockchain or storing private keys on your server.