Bitcoin Forum
December 12, 2024, 10:28:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Import bitcoin-qt wallet?  (Read 6983 times)
2048-bit (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 22, 2013, 04:52:07 PM
 #1

I am switching from bitcoin-qt to Electrum. How do I import my existing wallet?
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
July 23, 2013, 03:58:36 PM
 #2

You better send all the funds of your -qt wallet to one of the addresses on your Electrum. This way you'll have all your coins secured with your seed.

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
2048-bit (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 23, 2013, 11:45:50 PM
 #3

So there's no way to 'empty out' my old wallet, bypassing a fee?
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
July 27, 2013, 09:45:16 AM
 #4

You could import the private keys from the qt client but the problem is that you will have to keep a backup of these keys seperately. They won't become part of your Electrum seed.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
2048-bit (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 28, 2013, 08:55:10 PM
 #5

It's probably best then to send the bitcoins to my Electrum wallet, then.
2048-bit (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
August 05, 2013, 03:47:42 PM
 #6

Where do I find my private keys at in bitcoin-qt? (in GNU/Linux)
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
August 06, 2013, 12:29:48 PM
 #7

I know of one method:

Help->Debug Window->Console

dumpprivkey YOURADDRESSHERE

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1372
Merit: 1002



View Profile
August 08, 2013, 11:39:17 PM
 #8

Where do I find my private keys at in bitcoin-qt? (in GNU/Linux)

In Bitcoin-qt you would only dump 1 key at a time. Use pywallet instead Smiley

Install pywallet dependencies(see: https://github.com/jackjack-jj/pywallet)
Then:
Code:
mkdir pywallet
cd pywallet
wget --output-document=pywallet.py https://raw.github.com/jackjack-jj/pywallet/master/pywallet.py
python pywallet.py --web
Next:
Open your browser and navigate to localhost:8989
Search the dump keys part and write only "sec" on the export format. Choose a dir/file where to save the dumped private keys. You can then batch import them into Electrum.
simpic
Hero Member
*****
Offline Offline

Activity: 1259
Merit: 811


View Profile
September 01, 2013, 07:36:41 PM
Last edit: September 03, 2013, 01:10:29 PM by simpic
 #9

Hello,
I installed for the first time Electrum on my computer (Xubuntu) and i have imported 2 address belonging to Qt client that i stopped to use.
The import process went fine and the amount of my wallet is right.
But it imported only 8 transactions instead of 13 and some of them are wrong too (different date or different amount).

Please have a look a this image:



The red underlined transactions are the missing ones in Electrum (i have them on Qt but i don't have them on Electrum).
The circled amounts are wrong (see the original ones in Qt).

Why this happened? Could it be a bug?

Thank you.

Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1372
Merit: 1002



View Profile
September 02, 2013, 09:40:36 AM
 #10

Hello,
I installed for the first time Electrum on my computer (Xubuntu) and i have imported 2 address belonging to Qt client that i stopped to use.
The import process went fine and the amount of my wallet is right.
But it imported only 8 transactions instead of 13 and some of them are wrong too (different date or different amount).

Please have a look a this image:

http://anonymouse.org/cgi-bin/anon-www.cgi/http://img827.imageshack.us/img827/6020/9i3s.png

The red underlined transactions are the missing ones in Electrum (i have them on Qt but i don't have them on Electrum).
The circled amounts are wrong (see the original ones in Qt).

Why this happened? Could it be a bug?

Thank you.

Most probably it's because you didn't import the "change" addresses, hence the wrong values and missing transactions.
simpic
Hero Member
*****
Offline Offline

Activity: 1259
Merit: 811


View Profile
September 02, 2013, 07:17:50 PM
 #11

Most probably it's because you didn't import the "change" addresses, hence the wrong values and missing transactions.

What are change addresses? How to import them? Can i still fix this?

Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1372
Merit: 1002



View Profile
September 03, 2013, 08:44:55 AM
 #12

Most probably it's because you didn't import the "change" addresses, hence the wrong values and missing transactions.

What are change addresses? How to import them? Can i still fix this?

https://en.bitcoin.it/wiki/Change

If you still have the original wallet.dat you'll need to dump all private keys and import them all. Unless you want to check all your transactions to see which addresses are missing.

simpic
Hero Member
*****
Offline Offline

Activity: 1259
Merit: 811


View Profile
September 03, 2013, 12:16:16 PM
Last edit: September 03, 2013, 12:39:49 PM by simpic
 #13

Thank you for your reply, i understand more on Bitcoin transactions.
About my situation, i had 2 addresses (i verified it with "listreceivedbyaddress" command) in Qt client and i dumped both private keys and then imported them in Electrum.
So what's wrong? How to import change addresses?

Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1372
Merit: 1002



View Profile
September 03, 2013, 01:45:18 PM
 #14

How to import change addresses?

See here how to dump all private keys: https://bitcointalk.org/index.php?topic=260621.msg2894530#msg2894530
Next you'll import them all into Electrum.
I can't say for sure it will solve the problem, but there is no harm in trying. The change addresses seem to be empty, anyway, given that you say your balance is correct. It's just a cosmetic problem.
simpic
Hero Member
*****
Offline Offline

Activity: 1259
Merit: 811


View Profile
September 03, 2013, 02:36:41 PM
 #15

How to import change addresses?

See here how to dump all private keys: https://bitcointalk.org/index.php?topic=260621.msg2894530#msg2894530
Next you'll import them all into Electrum.
I can't say for sure it will solve the problem, but there is no harm in trying. The change addresses seem to be empty, anyway, given that you say your balance is correct. It's just a cosmetic problem.

I can't dump keys. I installed pywallet but when I click on "Dump Keys" i get "File not written" error.
Maybe it happens because .bitcoin directory is a symlink. So i tried to enter the right path, but the same error occurs.
Any other way to do the same?

SnowDog2003
Jr. Member
*
Offline Offline

Activity: 41
Merit: 1


View Profile
September 03, 2013, 03:52:47 PM
 #16


I can't dump keys. I installed pywallet but when I click on "Dump Keys" i get "File not written" error.
Maybe it happens because .bitcoin directory is a symlink. So i tried to enter the right path, but the same error occurs.
Any other way to do the same?

Change Addresses are a pain. One of the things that I like about Electrum, is that you don't have to use them. Most wallets, however, create NEW addresses EVERY TIME you make a spend, and some of your bitcoins go into hidden 'change' addresses.

The best way to move money into a new wallet is to send the funds. Don't try to import the keys unless you know what you're doing.

If you want to check the actual balances on your individual addresses to determine the actual balance of the imported keys, then go to this webpage and enter your public keys of the addresses that you want to check.

www.btcbalance.net

simpic
Hero Member
*****
Offline Offline

Activity: 1259
Merit: 811


View Profile
September 03, 2013, 07:16:34 PM
 #17

I'm asking help here too.
There i have an expert on pywallet but he doesn't know Electrum; here i have expert in Electrum but not on pywallet use Tongue

I'm trying to figure out how to make this full import!

SnowDog2003
Jr. Member
*
Offline Offline

Activity: 41
Merit: 1


View Profile
September 03, 2013, 07:46:13 PM
 #18

I'm asking help here too.
There i have an expert on pywallet but he doesn't know Electrum; here i have expert in Electrum but not on pywallet use Tongue

I'm trying to figure out how to make this full import!

I don't know pywallet, but here's another way to do it.

1) In bitcoin-qt, go to Help/Debug Window.

2) Choose the Console Tab.

3) In the text box, enter 'listaddressgroupings'.

This will bring up a list of 100 addresses. Your money could be in several addresses, but probably only in two or three. Look through the list. wherever you see some bitcoins, dump the private key of that address using, 'dumpprivkey <bitcoinaddress>'.

4) Import all of these private keys into Electrum, resync with an Electrum server, and your balances should match.

simpic
Hero Member
*****
Offline Offline

Activity: 1259
Merit: 811


View Profile
September 04, 2013, 12:22:19 AM
 #19

I do as you have said and there is still one gap.
A payment of 50 BTC that i sent is missing and now the balance is wrong!
In fact the balance now has 50 more BTC.

Why?


SnowDog2003
Jr. Member
*
Offline Offline

Activity: 41
Merit: 1


View Profile
September 04, 2013, 01:08:01 AM
 #20

A wallet is composed of multiple individual addresses. The addresses are the items that actually hold the bitcoins. It's difficult to figure out if a total balance is correct when looking at the whole wallet. We need to check the balance in each address.

In electrum, bring up the Classic GUI, (if you're using the Lite GUI), by going to the View Menu and selecting Classic GUI.

Then go to the 'Receive' tab. On the 'Receive' tab, you should see a balance associated with each individual address. This should be the actual balance in each of those addresses. You can double check them by going to 'www.btcbalance.net', and entering the addresses into that web page, which will also show you the balances in each address. If the two balances match, the one in electrum, and the one in www.btcbalance.net, then you can be confident that the balance in that address is correct. If you find an address in Electrum which has a different amount of bitcoins in it than in www.btcbalance.net, then it's probably Electrum's fault.

Let us know.
Pages: [1] 2 »  All
  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!