Experiments to calculate taxes with subnets
Using taostats.io's API endpoint for Get Tax Report...
go run ./calc-api.go -token TAO -apikey <api-key> -wallet <cold-key>
Download taostats.io's Tax CSV files and use csvq to extract the "Daily Income USD" column.
See also: Bittensor Tax Teporting
csvq -keep 'Daily income USD' tax-report-* | sed -r '/^\s*$/d' | paste -sd+ - | bc
This project, including all code, calculations, documentation, and outputs (such as estimated capital gains/losses from Bittensor subnet activities), is provided for informational and educational purposes only. It is not tax advice, legal advice, financial advice, investment advice, or professional guidance of any kind. Cryptocurrency taxation is highly complex, varies significantly by jurisdiction, changes frequently, and depends on your individual facts and circumstances (including holding periods, cost basis methods, income classification of emissions, and local regulations). The IRS, other tax authorities, and courts have not issued definitive guidance on many aspects of Bittensor/dTAO mechanics. Any numbers, estimates, or results generated by this tool are approximations based on simplified assumptions and publicly available data — they may be inaccurate or incomplete. You should never rely on this project (or its output) for tax reporting, filing decisions, audit defense, or any financial planning. Always consult a qualified tax professional, CPA, or attorney who is experienced in cryptocurrency taxation in your jurisdiction before taking any action related to your taxes or finances. The authors, contributors, and maintainers of this project disclaim all liability for any loss, damage, penalty, or other consequence arising from the use (or misuse) of this software. Use at your own risk.