Bitcoin Forum
November 14, 2024, 09:05:52 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Server, ala blockchain.info...how?  (Read 1089 times)
truckingeek (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
July 26, 2012, 12:00:30 AM
 #1

I love what blockchain.info is doing, it seems like a really great service.  I'd like to make my own, at least generally along those lines, probably just for my own gits and shiggles.  Entirely PHP, entirely FOSS, simple and clean.

How on Earth do I go about getting and parsing the blockchain without using a wallet?  Preferably all in PHP?  Any ideas?  Once retrieved and turned into discrete transactions, I'd like to stuff the whole thing into a sql database, and after that point it's really pretty simple to manhandle the data however it wants to be.  But getting to the point of the entire transaction history in a db...I'm stumped.

Help?
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
July 26, 2012, 03:04:42 AM
 #2

You might want to start with ABE: https://en.bitcoin.it/wiki/Abe

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
July 26, 2012, 04:13:23 AM
 #3

Once retrieved and turned into discrete transactions, I'd like to stuff the whole thing into a sql database, and after that point it's really pretty simple to manhandle the data however it wants to be.  But getting to the point of the entire transaction history in a db...I'm stumped.


The bitcoind RPC gives getblock/gettransaction.  See the new stuff in 0.7 as well:
 - http://bitcointalk.org/index.php?topic=89725.0

There are other tools that you can use to build this capability as well.

 - libBitcoin
 - Armory (see Extras) http://github.com/etotheipi/BitcoinArmory/tree/master/extras
 - Bitcoin ABE
 - BitcoinJS
 - BicoinJ

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


jim618
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
July 26, 2012, 09:11:58 AM
 #4

You might want to check with the author of blockchain.info (piuk on this forum) what licensing he has on the blockchain.info code to see if you can base what you want to do on it.

The project itself is on github:
https://github.com/zootreeves/blockchain.info

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!