Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 844 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 844 Bytes

xdrparser

Command line tool to parse the .xdr files written to the history archive of a stellar-core and print their data as json.

Compatibility

  • Python >= 3.4
  • Tested on Linux, Mac OS, and Windows.

Installation

From PyPI:

pip install xdrparser

From the repository:

pip install git+git://github.com/kinecosystem/xdrparser#egg=xdrparser  

Usage

$ xdrparser --help

Usage: xdrparser [OPTIONS] XDR_FILE

  Command line tool to parse Stellar's xdr history files.

Options:
  --with-hash        Calculate tx hashes, only for a 'transactions' xdr file,
                     must be used with --network-id
  --network-id TEXT  Network-id/network paraphrase, needed for --with-hash
  --indent INTEGER   Number of spaces to indent the json output with
  --help             Show this message and exit.