Best Tools for Polkadot Taxes - Staking, Multi-Chain Portfolio, etc

More than a year ago I was working on GitHub - substrate-portfolio/polkadot-portfolio: Simple UI to find all your bags of tokens in the highly complicated world of Polkadot Ecosystem 🔴 as a passionate side project but at this point, I have given up.

Most importantly, the assumption that I was following in my mind was that:

  1. If you are using common pallets, like balances, assets, and system, it will work outside of the box, without any further work.
  2. For each parachain that has some custom pallet bearing value (eg. crowdloan rewards in moonbeam) you would write a thin piece of TypeScript code to handle it.

I am now sure that this is flawed, and won’t scale. The right approach is along these lines.