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

Command line tool to unpack Stellar's history xdr files

License

Notifications You must be signed in to change notification settings

kinecosystem/xdrparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Command line tool to unpack Stellar's history xdr files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages