I have thousands of UTXOs that were created for experimental purposes back in 2016, programmatically, using P2PKH transactions, each generating hundreds of 10K-ish sat outputs.
Since these are now worth a few thousands $, I'd like to consolidate these outputs (and retrieve them to some wallet for convenience).
However, given the current fee market (on avg, above 50sat/vB, for a while now), each transaction I attempted to build turns out to be super heavy and hence requires paying fees that amount for more than 60% of the total value transacted (or it'd be stuck in the mempool forever).
As far as I understand, because the inputs all have P2PKH scripts, there is no way to use SegWit, Taproot, and so on.
Any suggestion on how to handle this situation?