Closed HansHauge closed 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
- M Gemfile https://github.com/HansHauge/echocoin/pull/28/files#diff-0 (3)
- M Gemfile.lock https://github.com/HansHauge/echocoin/pull/28/files#diff-1 (13)
- A app/controllers/api/block_explorer_controller.rb https://github.com/HansHauge/echocoin/pull/28/files#diff-2 (10)
- A app/models/block_explorer_api.rb https://github.com/HansHauge/echocoin/pull/28/files#diff-3 (19)
- M config/routes.rb https://github.com/HansHauge/echocoin/pull/28/files#diff-4 (4)
- A vendor/cache/httparty-0.13.7.gem https://github.com/HansHauge/echocoin/pull/28/files#diff-5 (0)
- A vendor/cache/multi_xml-0.5.5.gem https://github.com/HansHauge/echocoin/pull/28/files#diff-6 (0)
Patch Links:
- https://github.com/HansHauge/echocoin/pull/28.patch
- https://github.com/HansHauge/echocoin/pull/28.diff
— Reply to this email directly or view it on GitHub https://github.com/HansHauge/echocoin/pull/28.
warren vosper straydog software, inc.
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
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.
How much would it cost?
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