Skip to content

A utility to automatically sweep funds from private key BTC wallets to another address using Electrum

License

Notifications You must be signed in to change notification settings

chanderlud/electrum_sweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electrum Sweeper

A utility to automatically sweep funds from private key BTC wallets to another address using Electrum.
I made this tool to forward the balance of all my vanity BTC addresses to my main BTC wallet, but I am sure there are other uses for it.
This tool works on Linux & macOS only as the Windows Electrum wallet does not have a CLI interface.

Installation

Download and install the Electrum BTC wallet from Electrum.org
Make note of where the Electrum binary is installed as you will need to point Electrum Sweeper at it (or add Electrum to path).

Usage

Create a text file with one BTC private key and one BTC address on each line seperated by a |

p2pkh:notreallyaprivatekey|myotherbtcaddres
p2pkh:anotherprivatekey|mysecondbtcaddress

Build Electrum Sweeper then use it from the CLI. In this example Electrum is added to path so there is no need to provide the full path to the binary. The delay is how often in seconds the program will check your private keys for balance.

./electrum_sweeper --delay 10 --key_file keys.txt --path electrum

To enable and disable logging, use the q/quiet and v/verbose arguments

./electrum_sweeper --delay 10 --key_file keys.txt --path electrum -vvvvv  // very loud
./electrum_sweeper --delay 10 --key_file keys.txt --path electrum -q  // totally quiet

About

A utility to automatically sweep funds from private key BTC wallets to another address using Electrum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages