âž• A simple calculator made in python.
Windows:
You can clone the repository through CMD (Command Prompt) just by typing:
git clone https://github.com/ArdianTheBaws/CardanoTaxCalculator
or download the zip from the green button at the beginning of the repository
- Go to https://www.cryptodatadownload.com/data scroll down and choose between Binance or Kucoin, and download ADA/USDT minute version. Save the CSV file into the projects folder
- Find your wallet address and go to https://pooltool.io/ and enter your address in this search bar
Scroll down to Export Tool and choose Format CoinTracking.info (CSV), for Currency choose US Dollar, and for Periode you could choose for the year you want to calculate for. Then save this CSV file into the projects folder
-
Download all the requirements by writing this in terminal
pip install -r requirements.txt
-
run the python script, it is going to ask you to select your reward file which you got from pooltool.io, then it is going to ask you for the ADA/USDT CSV file.
-
Now it is going to ask you for which currency you want it displayed as, you could choose between 166 currencies, you need to write the input as: USD, SEK, NOK, CAD etc [CHECK HERE FOR SUPPORTED CURRENCIES]
- Now you need to find how much your country tax for each reward, for instance in norway they tax 22% for each reward we get, so here i would write 0.22.
- Now the script is going to calculate how much you need to tax for each reward, and put it into a CSV file :)
- Make the fork of the project (https://github.com/ArdianTheBaws/CardanoTaxCalculator/fork)
- Create a branch for your modification (
git checkout -b my-new-resource
) - Do commit (
git commit -am 'Adding a new resource ...'
) - Push (
git push origin my-new-feature
) - Create a new Pull Request
After your pull request is merged, you can safely delete your branch.