Skip to main content

Xdr parser for Kin's history files

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xdrparser-1.3.1.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

xdrparser-1.3.1-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page