Bitcoin and Neo4j
  • Hash256
  • Hash160
  • Reverse Bytes
Youtube Twitter

Neo4j The database this website's blockchain explorer runs on.

This website's blockchain explorer is powered by Neo4j (a graph database).

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:


You can browse the Bitcoin graph database using the Neo4j browser here:

To keep the database running as fast as possible, I'm currently asking for $40/month to access the bitcoin graph database (unless you are a student). This helps to contribute to server costs and upgrades, and gives you access to the entire graph database. Send me an email to get access.

Animated gif of the bitcoin graph database through the Neo4j browser.



Here's the code I use to import the blockchain from a Bitcoin Core node in to Neo4j:

Animated gif of the terminal when running the import program.

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.


Hey there, it's Greg.

I'll let you know about cool website updates, or if something seriously interesting happens in bitcoin.

Don't worry, it doesn't happen very often.