> For the complete documentation index, see [llms.txt](https://docs.stake.tax/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stake.tax/devs/add-new-csv-format-example.md).

# Add New CSV format example

<pre data-overflow="wrap"><code>
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:
<strong>https://github.com/hodgerpodger/staketaxcsv/commit/193e4cec07d9a5ec5b7fc45435cef0121560d56c
</strong>
In the end, you'll want to get a command like this working:

python staketaxcsv/report_atom.py cosmos1xa0a5xxklr4cx27ay46ttputr7d7nh55hgsjrw --format bitwave

</code></pre>
