Bitcoin Forum
May 09, 2024, 05:43:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I sweep in multiple private keys automatically?  (Read 497 times)
bitanalysis (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 25, 2016, 10:18:58 PM
 #1

I have a list of private keys I want to sweep into a single wallet using electrum. I know I sweep from the UI with a list but how do I do the same thing from command line?
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715233407
Hero Member
*
Offline Offline

Posts: 1715233407

View Profile Personal Message (Offline)

Ignore
1715233407
Reply with quote  #2

1715233407
Report to moderator
1715233407
Hero Member
*
Offline Offline

Posts: 1715233407

View Profile Personal Message (Offline)

Ignore
1715233407
Reply with quote  #2

1715233407
Report to moderator
1715233407
Hero Member
*
Offline Offline

Posts: 1715233407

View Profile Personal Message (Offline)

Ignore
1715233407
Reply with quote  #2

1715233407
Report to moderator
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
April 28, 2016, 01:56:15 PM
 #2

Perhaps run a for loop? In bash on linux:

Code:
dest_addr="1somethingsom" #destination address from your wallet

for privkey in `cat my_list_of_keys_one_per_line`
do
electrum sweep $privkey $dest_addr
done
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!