๐งน dust_cleaner
A Rust-based tool to identify and remove dust UTXOs from a Bitcoin wallet in a privacy-preserving way.
Supports sweeping dust to a burn address or consolidating dust safely.
๐ฆ Installation
From Crates.io
Install the CLI using cargo:
Usage
)
)
Example output:
๐ Found 2 dust UTXOs:
๐ฐ UTXO: 800 sats
๐ฐ UTXO: 600 sats
Using fixed fee: 500 sats
๐ฅ PSBT #1 (Burning dust to 1BitcoinEaterAddressDontSendf59kuE):
cHNidP8BAH4CAAAAAr4S/3p+... [base64 PSBT data]
๐ง Features
- Identify dust UTXOs below a configurable threshold
- Privacy-preserving dust removal by:
- Grouping UTXOs by address
- Creating separate transactions for each address
- Support for burning dust to a specified address
๐ ๏ธ Building from Source
- Clone the repository:
- Build the project:
- The binary will be available at
target/release/dust_sweeper_cli
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
โ ๏ธ Disclaimer
This tool is provided as-is. Always verify transactions before signing and broadcasting. Test thoroughly on regtest/testnet before using on mainnet.