Bitcoin Forum
December 05, 2016, 02:41:43 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How do I merge my wallets?  (Read 3412 times)
Bitcoiner
Member
**
Offline Offline

Activity: 70


View Profile
July 17, 2010, 03:39:52 AM
 #1

Between Windows, Linux (on same PC), and my laptop?

I don't want to lose payments cause I dropped a few addresses Smiley

Want to thank me for this post? Donate here! Flip your coins over to: 13Cq8AmdrqewatRxEyU2xNuMvegbaLCvEe  Smiley
1480948903
Hero Member
*
Offline Offline

Posts: 1480948903

View Profile Personal Message (Offline)

Ignore
1480948903
Reply with quote  #2

1480948903
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
d1337r
Jr. Member
*
Offline Offline

Activity: 35



View Profile
July 17, 2010, 06:23:57 AM
 #2

Well, the only possible way now is to send all your money from your other accounts to the primary one and never use those after  Smiley

My BC: 1FA57SXagJUq7zhnk5kTQMQmWSE3eBVbMr
Insti
Sr. Member
****
Offline Offline

Activity: 294


Firstbits: 1duzy


View Profile
July 17, 2010, 09:42:04 AM
 #3

This is currently not possible with the standard client.

I expect soon there will be tools that low importing and exporting of wallets.
Then you will be able to do what you want.
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
November 06, 2011, 02:48:29 PM
 #4

This is currently not possible with the standard client.

I expect soon there will be tools that low importing and exporting of wallets.
Then you will be able to do what you want.


so... it's 3.5 months later, is there any practical way to merge wallets?
preferably for windows, but i'd settle for something i can run in linux if need be.

or is such functionality still in the realm of coders-only?
pilardi
Newbie
*
Offline Offline

Activity: 28


View Profile
November 08, 2011, 01:42:11 AM
 #5

I believe you can do it with pywallet:
https://github.com/joric/pywallet

I've used it to import private keys into an existing wallet.

You can use it to dump the keys from the first wallet, then import the dumped keys into the second wallet. 

It doesn't appear to have been updated to work with 0.4.0 encrypted wallets yet, so use with caution.

payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
November 08, 2011, 03:07:24 AM
 #6

I believe you can do it with pywallet:
https://github.com/joric/pywallet

I've used it to import private keys into an existing wallet.

You can use it to dump the keys from the first wallet, then import the dumped keys into the second wallet. 

It doesn't appear to have been updated to work with 0.4.0 encrypted wallets yet, so use with caution.



i installed pywallet and it's pretty good at what it does.

but the fundamental part it lacks is importing multiple keys... i mean i kind of would have expected it to be able to read it's own 'dump' output, but no, you have to do them one at a time which unfortunately renders the feature useless to me in all practicality.
Eveofwar
Sr. Member
****
Offline Offline

Activity: 406


View Profile
March 27, 2012, 05:09:51 AM
 #7

counting down the days to bulk key import in the public release...  Undecided


Nearly 2 years since this thread and it's not a feature :/
adamstgBit
Legendary
*
Offline Offline

Activity: 1904


Trusted Bitcoiner


View Profile WWW
March 27, 2012, 07:02:48 AM
 #8

make a copy of wallet.dat?

that way you will have the same wallet on your lunix windows  or wtv other PC

I'm i misinterpreting the question?

Kluge
Donator
Legendary
*
Offline Offline

Activity: 1218


Michael, send me some coins before I hitman you


View Profile
March 27, 2012, 07:13:27 AM
 #9

make a copy of wallet.dat?

that way you will have the same wallet on your lunix windows  or wtv other PC

I'm i misinterpreting the question?
Yep. Re-read the thread title.

Armory currently supports importing Satoshi wallets and allows you to use multiple wallets, fwiw. Outside of that, it has a ridiculous number of features, though it currently consumes >2gb RAM. https://en.bitcoin.it/wiki/Armory

Don't mix your coins someone said isn't legal
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
March 27, 2012, 01:34:50 PM
 #10

I just did this and didn't get pywallet to work with an encrypted wallet, so I ended up using the import/export private key function of the official client:

  • Take the one of your existing wallets that you want to become your main wallet.
  • Create a new address from that wallet.  I'll refer to this as address 1ABC
  • Go to your old wallet.  Send the entire balance of this wallet to the 1ABC address.  This ensures that any coins attached to invisible "change" addresses make it to your new main wallet.
  • Use the JSON-RPC API dumpprivkey (using the bitcoind executable from the command line to talk to your running bitcoin) to export all of the addresses from your old wallet that you think you might still get some payment on in the future
  • use the JSON-RPC API importprivkey on your new wallet to import all of the keys from the step above

Your new wallet now has a) all of the publicly disclosed addresses from your old wallet and b) all of the BTC that may have been living in "change" addresses.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
March 27, 2012, 04:44:24 PM
 #11

I just did this and didn't get pywallet to work with an encrypted wallet, so I ended up using the import/export private key function of the official client:

  • Take the one of your existing wallets that you want to become your main wallet.
  • Create a new address from that wallet.  I'll refer to this as address 1ABC
  • Go to your old wallet.  Send the entire balance of this wallet to the 1ABC address.  This ensures that any coins attached to invisible "change" addresses make it to your new main wallet.
  • Use the JSON-RPC API dumpprivkey (using the bitcoind executable from the command line to talk to your running bitcoin) to export all of the addresses from your old wallet that you think you might still get some payment on in the future
  • use the JSON-RPC API importprivkey on your new wallet to import all of the keys from the step above

Your new wallet now has a) all of the publicly disclosed addresses from your old wallet and b) all of the BTC that may have been living in "change" addresses.

so this feature is in a public release? that means i could at least now use PHP to do a bulk import in some kind of loop... finally, hooray Cheesy

in what version did this feature first appear?

0.5.x I think.  I don't remember exactly.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!