Skip to content

nezero/wallet_defragger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Wallet Defragger

This script will defragment the unspent transactions on your DeepOnion wallet address, squashing 67 inputs at a time.

System Requiremnts

  1. DeepOniond must be available to your $PATH.
  2. DeepOnion.conf must contain rpcuser and rpcpassword configurations.
  3. Wallet must be unlocked.
  4. python3

Usgage

python3 wallet_dfragger.py <fromaddress> <toaddress>

From address and to address can be the same and the script will also only allow you to defragment your wallet to an address you own.

Enjoy!

Appendix

With minor changes, this scrypt can be used for any wallet daemon that supports the following commands.

  • validateaddress
  • listunspent
  • createrawtransaction
  • signrawtransaction
  • sendrawtransaction

About

Merge multiple input transactions down to just a few.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages