HansHauge / echocoin

Send bitcoin, donate to charity, be entered to win a prize!
https://echocoin.org
0 stars 0 forks source link

Bitcoin ruby playground #28

Closed HansHauge closed 8 years ago

HansHauge commented 8 years ago

Fixes #26

Don't merge yet - still need specs

Allows the application to get a bitcoin balance from a URL endpoint or from the command line.

http://localhost:3000/api/address/12Du5nfFkbJf2cn1hnR2MLVDdNQmwVsVXF/balance

This api endpoint has been unreliable, we should use this only as a backup for blockchain.info

warrenv commented 8 years ago

What if we run a full node as part of echocoin? Then we have all the info we need by definition and don't need to rely on an api.

On Mon, Dec 14, 2015 at 7:03 PM, Hans Hauge notifications@github.com wrote:

Fixes #26 https://github.com/HansHauge/echocoin/issues/26

Don't merge yet, still need specs.

Allows the application to get a bitcoin balance from a URL endpoint or from the command line.

http://localhost:3000/api/address/12Du5nfFkbJf2cn1hnR2MLVDdNQmwVsVXF/balance

This api endpoint has been unreliable, we should use this only as a backup

for blockchain.info

You can view, comment on, or merge this pull request online at:

https://github.com/HansHauge/echocoin/pull/28 Commit Summary

  • adds bitcoin gem
  • adds a primitive API to check btc balances

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/HansHauge/echocoin/pull/28.

warren vosper straydog software, inc.

HansHauge commented 8 years ago

Can we run a node for free? Are you talking about using the 21 computers?

These guys have a bitchin' api.

Edit This might be a replacement gem for the bitcoin-ruby gem, it's the gem for blockchain.info

https://github.com/blockchain/api-v1-client-ruby

warrenv commented 8 years ago

A full node. We would need to host it somewhere. On Dec 14, 2015 9:27 PM, "Hans Hauge" notifications@github.com wrote:

Can we run a node for free? Are you talking about using the 21 computers?

These guys https://blockchain.info/api have a bitchin' api.

— Reply to this email directly or view it on GitHub https://github.com/HansHauge/echocoin/pull/28#issuecomment-164633472.

HansHauge commented 8 years ago

How much would it cost?