To propery configure snapshot tool you have to set correct path to your MicroBitcoin blockchain directory in BLOCKCHAIN_DIR variable in config file. After that you shoul execute following commands:
Parse list of unspent UTXOs which will be saved to snapshot/unspent.json file.
python3 unspent.py
Parse UTXO set starting from SNAPSHOT_START to SNAPSHOT_END blocks and will be saved to snapshot/raw.json file.
python3 parser.py
Minify repeating UTXO set for each address into 1 record and save it to snapshot/utxo.json file.
python3 minify.py
This toolkit is based on following libraries:
- python-bitcoin-blockchain-parser by @alecalve (GNU Lesser General Public License v3)
- utxodump by @eklitzke (GNU General Public License v3)
Also it requires following hashing libraries to operate: