ediskandarov / pyblockchain

⛓ Blockchain parser for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyblockchain

https://travis-ci.org/toidi/pyblockchain.svg?branch=master

pyblockchain is a Python library for parsing blockchain data

Installation

pip install pyblockchain

Usage

from blockchain.reader import BlockchainFileReader

block_reader = BlockchainFileReader('tests/1M.dat')

for block in block_reader:
    print('magic number', block.header.magic_number_hex)

Useful links

About

⛓ Blockchain parser for Python


Languages

Language:Python 100.0%