Skip to content

theqrl-community/QRLtoSQLite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRL blockchain to SQLite

The QRL use LevelDB to store data. This project was created to convert QRL's blockchain into SQLite portable database format.

After the conversion, rich list, all tokens created and all messages stored on the blockchain (including votes and document notarization) can easily be browsed.

Samples

This repo includes mainnet db converted at blockheight 1898738 and testnet db converted at blockheight 25293.

DB Browser for SQLite can be used to browse them.

Generate SQLite DB

A node is required to generate an SQLite database.

  1. Sync the entire blockchain to your computer.

  2. Stop the node (the blockchain can't be accessed if it's locked by the node).

  3. Use the python script to generate the SQLite database.

     python3 QRLtoSqlite.py -i ~/.qrl/data/state/ -o QRL.sqlite
    

About

[MIRROR] QRL blockchain to SQLite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%