Bitcoin Forum
June 28, 2024, 08:50:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do you merge wallets?  (Read 1140 times)
cbeast (OP)
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
January 04, 2013, 03:14:54 PM
 #1

If you have multiple full blockchain Bitcoin-qt wallets on different systems, how do you merge them so you have all your legacy addresses in one client?

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
DPony13
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
January 04, 2013, 03:37:04 PM
 #2

Get the private key of the other wallet and
import it to the other client.

EndTheFed123, if you had just taken the money it wouldn't have ended like this Sad
BTW this hasn't been the real DPony13 since he "came back", I just hacked this account, SirLolicon is the real DPony13 I think.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4680



View Profile
January 04, 2013, 04:35:10 PM
 #3

If you are using a new address for each transaction then I'm not sure why you would want to keep all the legacy addresses, but assuming you do here is at least one method:

  • Start up your "legacy" Bitcoin-Qt.
  • Click the "Help" menu option.
  • Choose "Debug window" from the drop down menu list.
  • Choose the "Console" tab in the Debug window.
  • In the Console, enter:  listreceivedbyaddress 0 true
  • Write down (copy and paste into a document?) without any mistakes all the listed addresses.
  • For each address, enter the following in the Console: dumpprivkey address
  • Write down (copy and paste into a document?) without any mistakes each private key.
  • Shut down your "legacy" Bitcoin-Qt, start up your "new" Bitcoin-Qt.
  • Click the "Help" menu option.
  • Choose "Debug window" from the drop down menu list.
  • Choose the "Console" tab in the Debug window.
  • For each private key, enter the following in the Console: importprivkey private_key  "Label"

Assuming I haven't made any typing errors in those instructions, this should import all the private keys and associated addresses from the "Legacy" wallet into the "New" wallet.  Note that if the Label you use on any of the addresses have any spaces or special characters, you have to enclose the Label in quotes.  Safest to just always enclose the Label in quotes so you don't have to try and remember when you need them.  It doesn't hurt to use the quotes when they aren't needed.

As each new private key is imported the wallet will scan the entire blockchain to see if there are any bitcoins associated with the new address.  This may take a while.
cbeast (OP)
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
January 04, 2013, 04:39:36 PM
 #4

Thanks. I got a new computer and sent my bitcoins to a new wallet, but now realize that I have old addresses out in the wild that should be watched. Fortunately, I still have the old backups.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
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!