Deadlyelder / chain-extractor

Basic program to extract data from local dlt node and store it searchable database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chain-extractor

Chain extractor is a simple program that connects to a locally running cryptocurrency node and continuously fetches the new blocks from the node along with the address of each transaction. The extracted data can be stored in MongoDB (can be changed for other forms of database).

Usage

First install the dependencies:

pip install -r requirements.txt

Then setup configuration similar to the one provided in env.example, launch your mongodb instance and finally run the main entry point update_storage.py.

TODO

  • Automated scripts or docker to run on out of the box
  • Add other metrics that can be extracted

About

Basic program to extract data from local dlt node and store it searchable database

License:MIT License


Languages

Language:Python 100.0%