Decrease the pain of doing your taxes on juror gains with this tool.
It puts all of the events where you earned or lost PNK and all ETH earned into a csv, with date, tx hash and the total value in usd (value of the currency at the time).
- You need etherscan and cryptocompare api keys for this. Free tier is fine;
yarn
andnode
in the version specified insidevolta
inpackage.json
(or skip this step if you have volta installed);- Run
yarn
to install dependencies; - Make a JSON file with an array of the addresses you used as a juror;
- Run
yarn start -e <etherscan-key> -a <path-to-json> -c <cryptocompare-key>
; - Go grab some coffee. The tool does everything very slowly on purpose to avoid getting rate limited.
- Your file is in this folder:
output.csv