Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The simpliest script for parsing Bitcoin blockchain. It made convertion of blk*****.dat files to the simple text.

License

NotificationsYou must be signed in to change notification settings

ragestack/blockchain-parser

Repository files navigation

PyPI version

Blockchain Scalpel

(formerly: Blockchain parser / Russian scalpel)

Русский скальпель

Author: Denis Leonov (ragestack)
Contact:466611@gmail.com

Blockchain Scalpel is a lightweight script for parsing rawblkXXXXX.datfiles of the Bitcoin blockchain database.

The tool provides direct access to blockchain data stored on disk and allowsexploring the main database as close as possible to its original binaryrepresentation.

The parser is also compatible with many altcoins with minimal adjustments.


Overview

Blockchain Scalpel is a low-level blockchain data parser designed for research,analysis, and infrastructure-level processing.

The project focuses on:

  • transparent and deterministic parsing
  • minimal dependencies
  • direct work with raw blockchain data
  • long-term maintainability

No third-party modules or libraries are required.
A standard Python installation is sufficient.


Installation

Install from PyPI

pip install blockchain-scalpel

This will install theblockchain-scalpel command-line tool.

Manual usage

python blockchain-parser.py<blocks_dir><result_dir>

Usage

After installation from PyPI:

blockchain-scalpel<blocks_dir><result_dir>

This is equivalent to:

python blockchain-parser.py<blocks_dir><result_dir>

Where:

  • <blocks_dir> is the directory containing blkXXXXX.dat files

  • <result_dir> is the directory for parsed output


Typical Usage

  • academic and scientific research
  • grant-funded university projects
  • blockchain data analysis and forensics
  • internal analytics and data processing pipelines

The script converts the raw blockchain database stored inblkXXXXX.datfiles into a simple, human-readable format.

Make sure to configure the paths for:

  • inputblkXXXXX.dat files
  • output directory for parsing results

Source Code

Repository:
https://github.com/ragestack/blockchain-parser

PyPI package:https://pypi.org/project/blockchain-scalpel/


License

Important: License by version

  • Versionsup to and includingv1.0.0-gpl are licensed underGPL-3.0
  • Versionsstarting fromv2.0.0 are distributed under theBlockchain Scalpel License (source-available)

License summary (v2.0.0 and later)

  • Free fornon-commercial use with mandatory attribution
  • Academic and grant-funded research is permitted
  • Commercial use requires a paid license
  • SaaS / cloud / hosted use is not permitted without a commercial license

See the full license text in theLICENSE file.


Commercial Licensing

Commercial licenses, including licenses permitting use in commercialorganizations or SaaS / cloud / hosted environments, are available undernegotiated terms.

For commercial licensing inquiries, contact:

Denis Leonov
466611@gmail.com


Warranty

A limited compatibility warranty is provided for changes introduced by theauthor related to new or updated blockchain block formats.

This warranty is limited in scope and does not constitute an SLA.

SeeWARRANTY.md for details.


Notes

If this project is useful for your research or work, attribution to the authoris required.

Questions and licensing inquiries are welcome via email.


© Denis Leonov. All rights reserved.

About

The simpliest script for parsing Bitcoin blockchain. It made convertion of blk*****.dat files to the simple text.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp