Neo4j The database this website's blockchain explorer runs on.
I think a graph database is the most natural fit for storing bitcoin data, as all blocks and transactions are connected together to create one giant graph:
BrowserYou can browse the Bitcoin graph database using the Neo4j browser here:
- Browser: http://learnmeabitcoin.com:7474/browser
- Username/Password: contact me
You can download a copy of the bitcoin graph database here:
- Tar: not available
Here's the code I use to import the blockchain from a Bitcoin Core node in to Neo4j:
This script will run through the entire blockchain and import it in to Neo4j, but you will need to wait a few months for it to complete. Also, for good measure, the database will measure around 6x the size of the blockchain.
- Using Neo4j to import and analyze the bitcoin blockchain (Youtube, 68 mins) - A video explanation of how I imported the blockchain in to Neo4j.
- How to import the blockchain in to Neo4j - A simplified written tutorial on how you can create your own tool to import bitcoin data in to a Neo4j graph database.