Bitcoin Forum
November 16, 2024, 12:21:58 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to import wallet.dat on Multibit?  (Read 6478 times)
clyde2 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile WWW
April 29, 2014, 10:25:30 PM
 #1

I have a couple of bitcoins but my older computer crashed. But I had a backup of my wallet. Months passed and one day I decided to download the official client and sell my Bitcoins. But when I went to bitcoin site I saw that the client was different and very heavy. The site recommend to install Multibit. I got Multibit, but found out that I couldn't import the old wallet.dat, they wanted a different format. So, I'm stuck now.

(I also installed Bitcoin Core today, and it running all day and still is at around 10%).

Any solution?
Can I put the old wallet at the official bitcoin client?
Somewhere I was reading that all you have to do is place the old wallet here:
C:\Documents and Settings\YourUserName\Application data\Bitcoin


I also found this: blockchain.info/wallet/import-wallet

but I'm not sure if it's safe and how it works.

Can somebody please help me?
roslinpl
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
April 29, 2014, 11:35:39 PM
 #2

I have a couple of bitcoins but my older computer crashed. But I had a backup of my wallet. Months passed and one day I decided to download the official client and sell my Bitcoins. But when I went to bitcoin site I saw that the client was different and very heavy. The site recommend to install Multibit. I got Multibit, but found out that I couldn't import the old wallet.dat, they wanted a different format. So, I'm stuck now.

(I also installed Bitcoin Core today, and it running all day and still is at around 10%).

Any solution?
Can I put the old wallet at the official bitcoin client?
Somewhere I was reading that all you have to do is place the old wallet here:
C:\Documents and Settings\YourUserName\Application data\Bitcoin


I also found this: blockchain.info/wallet/import-wallet

but I'm not sure if it's safe and how it works.

Can somebody please help me?

answer 1: (Q: How to import wallet.dat into Multibit):
was your wallet encrypted or not ?? Have you set up a password for your backup? If yes -
harder :https://bitcointalk.org/index.php?topic=228334.0

answer 2: (Q: Can I put the old wallet at the official bitcoin client?) - yes you can just like you are saying. Copy wallet.dat into C:\Documents and Settings\YourUserName\Application data\Bitcoin folder.
prof7bit
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
May 19, 2014, 11:40:28 AM
Last edit: May 19, 2014, 12:27:20 PM by prof7bit
 #3

Any solution?
It is possible without any external tools and its actually pretty simple, you also don't need pywallet, this is more complicated than helpful in your case. In bitcoin-core find the console (help -> debug window -> console)

enter these two commands (or only the second one if you don't have a password):

Code:
walletpassphrase "your password here" 60
dumpwallet dump.key

The "60" means unlock it for 60 seconds, this is the time you have to enter the second command. The password goes between the quotes "", if you don't have a password then you only need the second command.

If no error has occurred then you should be able to find the "dump.key" file somewhere in your home directory (don't know exactly which this is on Windows but you could either search your HDD for this file or instead of
Code:
dumpwallet dump.key
you could use a fully qualified path like for example
Code:
dumpwallet "c:\dump.key"
to dump it to the root folder of c:\.

This works even when its not fully synchronized.

After this you can quit bitcoin-core and start Multibit. In Multibit you

* go to Tools->import private keys
* enter your Multibit password
* click import from and choose the "dump.key" file
* click "import keys"

This will import more than hundred keys into your wallet, most of them will be change and reserve addresses of bitcoin-qt but you need them all!

Wait for Multibit to sync. After it has synched 100% check the wallet balance is correct.

Unfortunately you will lose the address labels. If you want to preserve the address labels then you could first import the "dump.key" with wallet-key-tool and then export it from there directly as a new multibit .wallet file (which you don't need to import but can directly open in Multibit), this will keep all the address labels and mark the change and reserve addresses as "(change)" and "(reserve)". You can reuse all these reserve addresses if you want, just give them a different label and use them as receive addresses to request payments to you.

After you are done don't forget to add a strong password to your wallet (if not already done so) then delete the dump.key (because it contains unencrypted keys and you don't want to have that laying around on your HDD), then empty the trash and then find a tool to wipe all free space on your HDD to remove all traces of unencrypted keys from your HDD and unused sectors.

don't delete your old wallet.dat before you are sure it worked 100%, if it worked then don't use the old bitcoin-core wallet.dat anymore because this would add new change addresses, you must make a decision: either from now on use these keys only in the new imported Multibit wallet and don't use the old wallet.dat anymore ever or leave everything as is and don't move any keys at all. Under no circumstances use the same keys in parallel in both wallets!

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!