Author

Topic: Exporting a Private Key from Multibit; Importing the key to Bitcoin-QT (Read 8582 times)

legendary
Activity: 1512
Merit: 1032
Remember that Bitcoin addresses (except the one in my signature, of course) are best used as one-time only addresses, you don't continuously get payments to them. You should simply send your balance to a new wallet if you wish to use different software.

Compressed addresses were introduced because they are advantageous - transactions from them take almost half the space so spending many payments is cheaper in fees and takes less space in the blockchain.
newbie
Activity: 19
Merit: 0
A compressed address/private key combination cannot be "decompressed" for any useful purpose; a decompressed private key (which only has a flag indicating that the public key is uncompressed) has a different bitcoin address.

Some clients, notably Electrum, do not support compressed addresses (which may result in you paying more fees than you need to).

oh...if that's the case, is there any way to export the "original" private key from Multibit? The one that starts with a 5?? So that I can restore my wallet to any client in the future without any worries?
Only if you want to not be able to spend your money, read what you quoted.

So sorry, I think I understand a bit more now. So would you recommend that I use a client which does not compress their private keys so that I can move the BTCs around with worrying about compatibility issues?
legendary
Activity: 1512
Merit: 1032
A compressed address/private key combination cannot be "decompressed" for any useful purpose; a decompressed private key (which only has a flag indicating that the public key is uncompressed) has a different bitcoin address.

Some clients, notably Electrum, do not support compressed addresses (which may result in you paying more fees than you need to).

oh...if that's the case, is there any way to export the "original" private key from Multibit? The one that starts with a 5?? So that I can restore my wallet to any client in the future without any worries?
Only if you want to not be able to spend your money, read what you quoted.
newbie
Activity: 19
Merit: 0
A compressed address/private key combination cannot be "decompressed" for any useful purpose; a decompressed private key (which only has a flag indicating that the public key is uncompressed) has a different bitcoin address.

Some clients, notably Electrum, do not support compressed addresses (which may result in you paying more fees than you need to).

oh...if that's the case, is there any way to export the "original" private key from Multibit? The one that starts with a 5?? So that I can restore my wallet to any client in the future without any worries?
legendary
Activity: 1512
Merit: 1032
Another tip; you can avoid excessive wait and hassle by creating a batch file to import the keys, disabling the automatic rescan that can lock the client for 10 minutes, with lines like:

C:\Program Files (x86)\Bitcoin\daemon\bitcoind importprivkey L3GMeSqH3HTcqLBsYtQtJQhLQ2iaFMq8FBHga9gek2hGXMQbskjY multibit1 false
C:\Program Files (x86)\Bitcoin\daemon\bitcoind importprivkey KxFFdK2xG9kJDXC5yQ3Ck6SFodsR1y97bNBz9tNu5uzkxzMchiG1 multibit2 false


the false disables the rescan, you can have false until the last line so only the last import makes a rescan of all addresses.

So I can use this "new" compressed private key on any client without any decompressing/converting to the old format or things like that?
A compressed address/private key combination cannot be "decompressed" for any useful purpose; a decompressed private key (which only has a flag indicating that the public key is uncompressed) has a different bitcoin address.

Some clients, notably Electrum, do not support compressed addresses (which may result in you paying more fees than you need to).
newbie
Activity: 19
Merit: 0
Uncompressed private keys (the 'old' format) start with a 5

Compressed private keys (the 'new' format) start with a K or an L


I see..thank you for the reply!!

So I can use this "new" compressed private key on any client without any decompressing/converting to the old format or things like that?
legendary
Activity: 1708
Merit: 1066
Uncompressed private keys (the 'old' format) start with a 5

Compressed private keys (the 'new' format) start with a K or an L
newbie
Activity: 19
Merit: 0
Export private key from MultiBit without password - this is important.Then edit file with some editor like Notepad++ and copy only key - this is row without # ,and you must copy only key - no date and another symbols , and then in BitCoin-Qt open from Help->Debug window ->Console then type

Code:
importprivkey  [label] [rescan=true]
without <>
where label is name of owner - your name.
And when press enter the your address with coins will appear in your addresses and in your balance.My be you can wait until client rescaning the blocks .

In my opinion here no problem to use two different client with the same private key - if you spend or receive the coins from one client with this private key - address it will be synchronized  in the another client - this address - private key.



I tried exporting the private key without password. I can see the strings in the .key file. However are these the "actual" private keys? If I'm not wrong private keys starts with "5"?? None of the strings inside my file is like that.
newbie
Activity: 40
Merit: 0
I have been successful at my import (yay! FINALLY). What worked, in case it's helpful to anyone else is:

          don't include date, time, or z in the private key - only the letters & numbers
     and
          yes, include a label of some kind
     and
          using [rescan=true] resulted in a parsing error every time I used it. The import worked without it.

newbie
Activity: 40
Merit: 0
Quote
So one private key is for one address -in wallet you can have many addresses
every key is in row WITHOUT # and finish to  date and time.
And for every wallet you have to export private keys-it is impossible to export key for two wallets together
So for me you put wrong key because is the wrong message - for label yo can put some name or whatever you want

This is helpful. Thank you. I would clarify the following (if this is wrong, somebody please correct me):

          Every key is in row without # and finish to date and time and z
     and
          for label you can put some name or whatever you want but a label does need to be present
full member
Activity: 137
Merit: 100
Export private key from MultiBit without password - this is important.Then edit file with some editor like Notepad++ and copy only key - this is row without # ,and you must copy only key - no date and another symbols , and then in BitCoin-Qt open from Help->Debug window ->Console then type

Code:
importprivkey  [label] [rescan=true]
without <>
where label is name of owner - your name.

I also am trying to import a Multibit key into Bitcoin-Qt. I can view the unencrypted key in Notepad, but I'm uncertain just how much of the text I'm to copy - is it everything in between the two # symbols? I have two wallets, and there appear to be two keys in between the # symbols. Would I be interpreting that right?

Also, my labels aren't owner name, they are descriptive - but when I try to import the key using the descriptive label, I get this error:
Quote
Error: value is type int, expected bool
If I try to import the key without any label, I get this error:
Quote
Error: Error parsing JSON:[rescan=true]


So one private key is for one address -in wallet you can have many addresses
every key is in row WITHOUT # and finish to  date and time.
And for every wallet you have to export private keys-it is impossible to export key for two wallets together
So for me you put wrong key because is the wrong message - for label yo can put some name or whatever you want
newbie
Activity: 40
Merit: 0
Export private key from MultiBit without password - this is important.Then edit file with some editor like Notepad++ and copy only key - this is row without # ,and you must copy only key - no date and another symbols , and then in BitCoin-Qt open from Help->Debug window ->Console then type

Code:
importprivkey  [label] [rescan=true]
without <>
where label is name of owner - your name.

I also am trying to import a Multibit key into Bitcoin-Qt. I can view the unencrypted key in Notepad, but I'm uncertain just how much of the text I'm to copy - is it everything in between the two # symbols? I have two wallets, and there appear to be two keys in between the # symbols. Would I be interpreting that right?

Also, my labels aren't owner name, they are descriptive - but when I try to import the key using the descriptive label, I get this error:
Quote
Error: value is type int, expected bool
If I try to import the key without any label, I get this error:
Quote
Error: Error parsing JSON:[rescan=true]
full member
Activity: 137
Merit: 100
Thanks for the replies.

Export private key from MultiBit without password - this is important.

Can you tell me why this is important? Is it because if you export the private key with a password, the readable version of the password is different - starts with U rather than K or L, for example?  And if you export the private key without the password you can read the actual private key?

This is important because password  encrypts actual private key so i didn't try to edit private key file with password.
member
Activity: 205
Merit: 10
Thanks for the replies.

Export private key from MultiBit without password - this is important.

Can you tell me why this is important? Is it because if you export the private key with a password, the readable version of the password is different - starts with U rather than K or L, for example?  And if you export the private key without the password you can read the actual private key?




mjb
newbie
Activity: 44
Merit: 0
Or you just use the Bitcoin network to transfer the coins, which is more user-friendly...
full member
Activity: 137
Merit: 100
Export private key from MultiBit without password - this is important.Then edit file with some editor like Notepad++ and copy only key - this is row without # ,and you must copy only key - no date and another symbols , and then in BitCoin-Qt open from Help->Debug window ->Console then type

Code:
importprivkey  [label] [rescan=true]
without <>
where label is name of owner - your name.
And when press enter the your address with coins will appear in your addresses and in your balance.My be you can wait until client rescaning the blocks .

In my opinion here no problem to use two different client with the same private key - if you spend or receive the coins from one client with this private key - address it will be synchronized  in the another client - this address - private key.

member
Activity: 205
Merit: 10
Can I export a Multibit private key in compressed encoding format to the Bitcoin-QT client using importprivkey?

Is there anything I should be concerned with in doing this - such as having the private key in two different clients?

Thanks in advance.
Jump to: