docs.stake.tax
Search…
⌃K

Add New CSV format example

Ah ok, so first you'll want to get any CSV working with the staketaxcsv code
(Install and Usage as CLI section):
https://github.com/hodgerpodger/staketaxcsv
I found a random address on mintscan just now to use as an example below:
# create staketax csv
python staketaxcsv/report_atom.py cosmos1xa0a5xxklr4cx27ay46ttputr7d7nh55hgsjrw
# create cointracker csv
python staketaxcsv/report_atom.py cosmos1xa0a5xxklr4cx27ay46ttputr7d7nh55hgsjrw --format cointracker
# create cointracker csv for just one transaction (for testing)
python staketaxcsv/report_atom.py cosmos1xa0a5xxklr4cx27ay46ttputr7d7nh55hgsjrw --format cointracker --txid FA6E219AC3C197F4881D30A7E216BE3ADC2D879B2EBAEE8D7BA99AB873310697
Then I’d use this example to make edits to src/staketaxcsv/common/Exporter*.py:
https://github.com/hodgerpodger/staketaxcsv/commit/193e4cec07d9a5ec5b7fc45435cef0121560d56c
In the end, you'll want to get a command like this working:
python staketaxcsv/report_atom.py cosmos1xa0a5xxklr4cx27ay46ttputr7d7nh55hgsjrw --format bitwave