Skip to content

tomasonjo/bitcoin-to-neo4jdash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-to-neo4jdash

Project that listens to bitcoin websocket API for new transactions and stores them to Neo4j to be analyzed

Article available at: https://medium.com/neo4j/real-time-dashboard-of-bitcoin-transactions-with-neo4j-and-neodash-ecfda0ba2c9b

Getting started

First define the constraints and indexes in Neo4j by running

sh define_schema.sh

Now you can instantiate the whole project by running

docker-compose up -d

Once the project is up and running, open NeoDash at localhost:80 in your browser.

Click on the New Dashboard option.

neodash1

Next, connect to the Neo4j instance.

Username: neo4j

Password: letmein

Host: localhost

Once you have successfuly connected, click on the load dashboard option on the left toolbar

neodash2

Next, select the dashboard.json file which is available in the neodash folder and click Load Dashboard.

neodash3

Graph model

neodash4

The graph consists of addresses and transactions. The transaction nodes contain the transaction hash and the timestamp and some preprocessed information like the total and the flow value of the transaction. The original input and output contributions are stored as relationship properties to allow multiple inputs and outputs with various contributions. The direction of the relationships indicates the flow of value.

About

Project that listens to bitcoin websocket API for new transactions and stores them to Neo4j to be analyzed

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published