2 releases

0.1.4 Dec 16, 2019
0.1.1 Dec 16, 2019

#39 in #accounting

Apache-2.0

18KB
181 lines

PegTX

Crates.io Build Status Discord

PegTX is an accounting and monitoring tool for use with pegnet, given an address it will generate a csv report that can be imported into common spreadsheet and accounting software. By default it will search for all actions for that particular address, that includes transactions, conversions and burns. These can be searched individually or in any combination.

Installation

Precompiled binaries can be found on the releases page.

Cargo

cargo install pegtx

Build from source

git clone 
cargo build --release

Usage

Available commands can be found with pegtx -h

pegtx 0.1.0
An accounting tool for use with pegnet

USAGE:
    pegtx.exe [FLAGS] [OPTIONS] <address>

FLAGS:
    -b, --burn          The list of transactions will include transfers
    -c, --conversion    The list of transactions will include conversions
    -d, --descending    Retrieve newest transactions first
    -h, --help          Prints help information
    -m, --mining        The list of transactions will include miner payouts
    -t, --transfer      The list of transactions will include transfers
    -V, --version       Prints version information

OPTIONS:
    -n, --node <node>        Sets a custom pegnetd node rather than using the public node
    -o, --output <output>    Specify output file, defaults to <ADDRESS>.csv

ARGS:
    <address>    FCT address

Contributing

PR's welcome. Fork the library and submit to dev branch. By contributing you agree to it being Apache 2.0 licensed

Donations

FCT: FA2dJL4qbQimfkXjP7jREdm48AjPzdS8rcosfJisG2L465bs1ean

BTC: 3QP7yv9GSaY9sqbhBatbPrwkoQ4nfudvjP

Dependencies

~13–25MB
~374K SLoC