DefiantLabs / cosmos-tax-cli

An opensource cosmos tax tool!
https://defiantlabs.net
Apache License 2.0
25 stars 7 forks source link

Add native CSV output format that contains full data export for every transaction #564

Open pharr117 opened 1 month ago

pharr117 commented 1 month ago

The CSV API should have a non-tax software/native format that outputs the entire dataset for each transaction/message instead of formatting it into a specific tax-software format.

pharr117 commented 1 month ago

Here are some example PRs that added new formats:

  1. https://github.com/DefiantLabs/cosmos-tax-cli/pull/304
  2. https://github.com/DefiantLabs/cosmos-tax-cli/pull/234

The interface for the parser was updated after the addition of these old parsers, here is the PR that changed it:

  1. https://github.com/DefiantLabs/cosmos-tax-cli/pull/527

Here is the CSV parser interface definition:

  1. https://github.com/DefiantLabs/cosmos-tax-cli/blob/61914814fc9d8ee7b5e2126ec8dee7f0063df82c/csv/parsers/types.go#L9-L17