There was a thing by Peter Todd, IIRC, called dust-b-gone. Get rid of the dust by donating it to miners.
Thanks. I have had a look at it. The problem is that it uses a centralized server and it still creates a transaction with an ouput with a value greater than zero.
Why sending it to miners they are already earning bitcoins.Give it away to newbies like me
Ha ha ha. Sorry, but I need to send the dust directly to miners to guarantee traceability and transpareny for my app. In case you want to know:
https://xparent.com/appIt may be better instead to make a transactions without any outputs (is this legal)? If the point is to clean up dust, you definitely want to figure out how to create something which actually acheives this.
I just found out that transactions with a single output with a value of zero satoshis are not standard, and are not relayed by Bitcoin Core, even though they are considered valid if they make it to a block. I will need to find a better solution.