I'm now looking for advice on how to get rid of the dust UTXOs. My wallet is held on a Trezor. Thanks in advance for any advice you can offer.
I think if you used the python-trezor CLI tool, you could spend your own coins without spending the dust. Electrum could also do it, but with a privacy loss.
An additional step could be to spend only your outputs at the spammed address, but specifically use only the dust for the transaction fee
There would be no privacy loss, as anyone analysing the transaction already knows you can spend both your output and the spam/dust output, but the tainting would happen to the miner that accepts the transaction instead of to your own money. Probably best to use the entire spam amount as fees
That last idea, python-trezor probably won't let you do directly, the options would be to use:
- Electrum (easy, low privacy)
- A raw transaction using python-trezor and bitcoin-cli together (much more difficult/error prone, high privacy)
If you wanted to practice the 2nd option (python-trezor + bitcoin-cli), you could put some testnet coins on your Trezor to simulate your circumstances, you'd be more confident after that (
mistakes can cost you badly, be careful).
You can always combine these dust unspent outputs in one transaction paying a 1 sat/byte fee and see if you can make some profit from this dust...
_Do not do that_ IF the spam is from different addresses. It's an assumption, but a reasonable one, that the person who collected all those separate spam dustings together owns all the addresses the spam was sent to. That harms your privacy.
If you spend a bunch of spam outputs that all get sent to just one address, your privacy cannot be harmed (although the resulting tainted outputs are somewhat unique, if they had been sent in different rounds of dusting from different original addresses). I'd be surprised if a dust spammer did that though.