eccentricexit / kleros-juror-gains

This tool aggregates all ETH and PNK gains and losses from your addresses into a csv, along with its value in USD at the time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kleros Juror Tax

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).

Steps to use:

  1. You need etherscan and cryptocompare api keys for this. Free tier is fine;
  2. yarn and node in the version specified inside volta in package.json (or skip this step if you have volta installed);
  3. Run yarn to install dependencies;
  4. Make a JSON file with an array of the addresses you used as a juror;
  5. Runyarn start -e <etherscan-key> -a <path-to-json> -c <cryptocompare-key>;
  6. Go grab some coffee. The tool does everything very slowly on purpose to avoid getting rate limited.
  7. Your file is in this folder: output.csv

About

This tool aggregates all ETH and PNK gains and losses from your addresses into a csv, along with its value in USD at the time.


Languages

Language:TypeScript 100.0%