Bitcoin Forum
April 19, 2024, 04:51:27 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Solved] dumpprivkey on Bitcoin-Qt, shows different addresses in Electrum  (Read 218 times)
bluesmoke (OP)
Jr. Member
*
Offline Offline

Activity: 123
Merit: 1

Files.fm - Store, Share and Sell Files


View Profile WWW
August 28, 2018, 07:10:45 AM
Last edit: August 28, 2018, 03:27:46 PM by bluesmoke
 #1

It's been one week since I was trying to resolve this issue but never found a proper solution or what I have found simply didn't work with me. Perhaps I can't understand the exact mechanism due to the language barrier as I'm not native in English. So, today I am seeking help from the community.

Problem: Unable to use Bitcoin from Bitcoin-qt 16.2 because of synchronization issue.
More details: I sent some small amount of BTC in my Bitcoin-qt wallet which was never synced. The issue raised when I tried to use it.

Actual problem:
I have tried various method by Googling the issue like dumping private key. But the problem is when I import the private key in Electrum or other wallets it shows zero balance and different BTC address. Got confused here, tried again and again what's wrong with me, dumped the key again, still found safe error. Used https://bitaddress.org too to see wallet details but it shows what electrum shows.
Here I'm posting an example of my wallet with the dumped private key that has no fund. Copied from wallet but see yourself https://bitaddress.org showing different address also try importing it will show get different receiving address.

L49YrnZPvfptpaV6ad1pw55fTBz2gdJLSzgZjYrgSyLkCQaPdZer 2018-03-03T17:05:32Z reserve=1 # addr=3JP77cLUwuwY6Rw16CZZRmZ7eDHKHQQcZA hdkeypath=m/0'/0'/8'
Kxk4dYpsLghVeTBccCNsSb5iq9ULczFjCKB3kEhrWFKFeTY9dT5w 2018-03-03T17:05:32Z reserve=1 # addr=3KBtWR5zGsGWrPxfRx6HyG7CnpqssaftdA hdkeypath=m/0'/0'/37'

What can I do now?
What I want to do: Import those funds to any other wallet like Electrum.

Device I can use: Windows 7, 32bit, Android (Note: most desktop wallet doesn't support 32bit pc, for example, Electrum itself won't run in my PC)  


Edit: The issue has been solved with the first reply with easy solution. Thanks to that amazing community member.

██████████████  CARTESI 📱 LINUX INFRASTRUCTURE FOR SCALABLE DAPPS  ██████████████
https://cartesi.io/
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713502287
Hero Member
*
Offline Offline

Posts: 1713502287

View Profile Personal Message (Offline)

Ignore
1713502287
Reply with quote  #2

1713502287
Report to moderator
nc50lc
Legendary
*
Online Online

Activity: 2394
Merit: 5485


Self-proclaimed Genius


View Profile
August 28, 2018, 07:30:17 AM
Last edit: August 28, 2018, 07:49:30 AM by nc50lc
Merited by OgNasty (1), pooya87 (1), LoyceV (1)
 #2

You must change the derivation path depending on the address type.
In your case, those are more likely p2wpkh-p2sh SegWit Addresses.
However, by restoring using only the private keys, you will need to tell the client to restore the SegWit addresses from those prv keys .

Try this:
Restore them using Electrum by adding "p2wpkh-p2sh:" in front each of the private keys, like this:
Code:
p2wpkh-p2sh:L49YrnZPvfptpaV6ad1pw55fTBz2gdJLSzgZjYrgSyLkCQaPdZer
p2wpkh-p2sh:Kxk4dYpsLghVeTBccCNsSb5iq9ULczFjCKB3kEhrWFKFeTY9dT5w

then hit next, next.

-Edit-
I've tried and the correct addresses: 3JP77cLUwuwY6Rw16CZZRmZ7eDHKHQQcZA & 3KBtWR5zGsGWrPxfRx6HyG7CnpqssaftdA were restored.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
bluesmoke (OP)
Jr. Member
*
Offline Offline

Activity: 123
Merit: 1

Files.fm - Store, Share and Sell Files


View Profile WWW
August 28, 2018, 03:22:36 PM
 #3

You must change the derivation path depending on the address type.
In your case, those are more likely p2wpkh-p2sh SegWit Addresses.
However, by restoring using only the private keys, you will need to tell the client to restore the SegWit addresses from those prv keys .

Try this:
Restore them using Electrum by adding "p2wpkh-p2sh:" in front each of the private keys, like this:
Code:
p2wpkh-p2sh:L49YrnZPvfptpaV6ad1pw55fTBz2gdJLSzgZjYrgSyLkCQaPdZer
p2wpkh-p2sh:Kxk4dYpsLghVeTBccCNsSb5iq9ULczFjCKB3kEhrWFKFeTY9dT5w

then hit next, next.

-Edit-
I've tried and the correct addresses: 3JP77cLUwuwY6Rw16CZZRmZ7eDHKHQQcZA & 3KBtWR5zGsGWrPxfRx6HyG7CnpqssaftdA were restored.

Impressive! This really works, it was so easy that I never thought. Thank you so much.

██████████████  CARTESI 📱 LINUX INFRASTRUCTURE FOR SCALABLE DAPPS  ██████████████
https://cartesi.io/
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!