Bitcoin Forum
May 06, 2024, 08:25:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: Recovering old wallet.dat  (Read 863 times)
grames321 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
April 12, 2020, 03:49:24 AM
 #21

To check their balance, simply copy an address (addr=) and paste it on a blockexplorer (https://blockstream.info/), just take note of the private keys of the ones with balance.

Awesome, I have the addresses and all their keys, but in the dump there are, about 4000 address lines and the first few lines have all shown no transactions or balance.

Don't know if this is ELI5 enough (old post of mine -edited-):
Quote from: me
  • Start 'Bitcoin-qt' as administrator, then open 'window->console'
  • Enter walletpassphrase your-passphrase 240
  • Enter dumpwallet keys.txt (you can change 'keys' into any name that you want)
  • Go to the installation directory of your Bitcoin core and find "keys.txt", open it and find the addresses' private keys, list of strings that start with '5', 'K' or 'L'.
  • Download Electrum Windows Stand-alone Executable from electrum.org
  • If your addresses starts with '3' or 'bc1', you'll need to import each prv keys to electrum using the option "Import Bitcoin addresses or private keys" by pasting each keys per line using:
    p2wpkh-p2sh:YOUR_Private_key if your addresses starts with '3'
    p2wpkh:YOUR_Private_key if your addresses starts with 'bc1'
  • If they start with '1', just paste the private keys.

Looking at the dump again, trying not to dox myself, I see the extended private master key and then the plethora of addresses and private keys before them, as well as an hdseed=1, reserve=1 and hdkeypath=m/0... on each line. My keys all start with K or L, don't see any 5's and my addresses all start with 3. The other problem I'm seeing is how ill copy and paste over 4000 strings into Electrum.
1715027123
Hero Member
*
Offline Offline

Posts: 1715027123

View Profile Personal Message (Offline)

Ignore
1715027123
Reply with quote  #2

1715027123
Report to moderator
1715027123
Hero Member
*
Offline Offline

Posts: 1715027123

View Profile Personal Message (Offline)

Ignore
1715027123
Reply with quote  #2

1715027123
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715027123
Hero Member
*
Offline Offline

Posts: 1715027123

View Profile Personal Message (Offline)

Ignore
1715027123
Reply with quote  #2

1715027123
Report to moderator
1715027123
Hero Member
*
Offline Offline

Posts: 1715027123

View Profile Personal Message (Offline)

Ignore
1715027123
Reply with quote  #2

1715027123
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
April 12, 2020, 03:58:34 AM
 #22

Looking at the dump again, trying not to dox myself, I see the extended private master key and then the plethora of addresses and private keys before them, as well as an hdseed=1, reserve=1 and hdkeypath=m/0... on each line. My keys all start with K or L, don't see any 5's and my addresses all start with 3. The other problem I'm seeing is how ill copy and paste over 4000 strings into Electrum.
That's troublesome indeed...

If you do not want to check the balance using blockexplorer, then try to at least import the first few index to Electrum and see if they have a balance.
To find them, just open "find" (Windows? Ctrl+F) and search for m/0'/0'/0 then copy the private key at the start of the line,
then find m/0'/0'/1 and do the same until you collected a few of them.

Then create an imported wallet to Electrum using "Import Bitcoin addresses or private keys" and paste them like this:
Code:
p2wpkh-p2sh:K1111111111111111111PRIVATEKEY1111111111111111111111
p2wpkh-p2sh:K1111111111111111111PRIVATEKEY2111111111111111111111
p2wpkh-p2sh:K1111111111111111111PRIVATEKEY3111111111111111111111
p2wpkh-p2sh:K1111111111111111111PRIVATEKEY4111111111111111111111

Take note that Electrum might need a few seconds to sync, minutes if it's your first time using it.

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

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

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

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

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

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











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











▄▄▄▄█
tianxie
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile
April 12, 2020, 03:38:45 PM
 #23

To check their balance, simply copy an address (addr=) and paste it on a blockexplorer (https://blockstream.info/), just take note of the private keys of the ones with balance.

Awesome, I have the addresses and all their keys, but in the dump there are, about 4000 address lines and the first few lines have all shown no transactions or balance.

Don't know if this is ELI5 enough (old post of mine -edited-):
Quote from: me
  • Start 'Bitcoin-qt' as administrator, then open 'window->console'
  • Enter walletpassphrase your-passphrase 240
  • Enter dumpwallet keys.txt (you can change 'keys' into any name that you want)
  • Go to the installation directory of your Bitcoin core and find "keys.txt", open it and find the addresses' private keys, list of strings that start with '5', 'K' or 'L'.
  • Download Electrum Windows Stand-alone Executable from electrum.org
  • If your addresses starts with '3' or 'bc1', you'll need to import each prv keys to electrum using the option "Import Bitcoin addresses or private keys" by pasting each keys per line using:
    p2wpkh-p2sh:YOUR_Private_key if your addresses starts with '3'
    p2wpkh:YOUR_Private_key if your addresses starts with 'bc1'
  • If they start with '1', just paste the private keys.

Looking at the dump again, trying not to dox myself, I see the extended private master key and then the plethora of addresses and private keys before them, as well as an hdseed=1, reserve=1 and hdkeypath=m/0... on each line. My keys all start with K or L, don't see any 5's and my addresses all start with 3. The other problem I'm seeing is how ill copy and paste over 4000 strings into Electrum.

the master private key could be entered at iancoleman.io 

为中东地区的中国投资者提供比特币
Csmiami
Copper Member
Legendary
*
Offline Offline

Activity: 1596
Merit: 1319


I'm sometimes known as "miniadmin"


View Profile WWW
April 12, 2020, 03:52:27 PM
Merited by bones261 (4)
 #24

the master private key could be entered at iancoleman.io 

LOL, NEVER EVER enter any private key anywhere. Even less, in a service no one has ever heard of. Be safe out there,

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 12, 2020, 08:58:21 PM
 #25

the master private key could be entered at iancoleman.io 

LOL, NEVER EVER enter any private key anywhere. Even less, in a service no one has ever heard of. Be safe out there,
What do you mean a service no one has ever heard of? Huh

Ian Coleman's BIP39 Mnemonic Code Converter is one of the most widely used/known websites for dealing with BIP39 mnemonics and/or master private keys: https://iancoleman.io/bip39/

It is 100% opensource and can even be downloaded and used completely offline. It's a very handy resource for wallet/private key recovery. But yes, I would not recommend using the online version of this for anything other than testing "dummy" mnemonics/private keys.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Csmiami
Copper Member
Legendary
*
Offline Offline

Activity: 1596
Merit: 1319


I'm sometimes known as "miniadmin"


View Profile WWW
April 12, 2020, 11:38:33 PM
 #26

---

My bad... I had never heard about the service itself, the domain name sounded sketchy, and I've had enough BS for the day. Sorry for not checking all the facts before replying; I just read "private key, enter, website" and kinda triggered

nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
April 13, 2020, 01:35:12 AM
 #27

the master private key could be entered at iancoleman.io  
There's no point in doing that since he already got the list of private keys and addresses just below the "extended private masterkey".
iancoleman's BIP39 tool will just derive the same list (change have different derivation path)
unless he changed the passphrase before which created a bunch of different set of keys/addresses.

What he need now is to find which addresses have a balance.

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

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

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

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

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

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











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











▄▄▄▄█
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 13, 2020, 01:50:39 AM
 #28

The advantage of using IanColeman's tool is that you can easily export a CSV file with the private keys in derivation path order... which also means (with a small amount of text manipulation in something like Notepad++) you can easily create a list of keys in the appriopriate format to import into Electrum.

dumpwallet while useful, outputs keys in a very 'random' order. Undecided

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
grames321 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
April 13, 2020, 11:59:16 PM
 #29

Then create an imported wallet to Electrum using "Import Bitcoin addresses or private keys" and paste them like this:
Take note that Electrum might need a few seconds to sync, minutes if it's your first time using it.

Awesome sauce, So i found a way in notepad++ and imported every single (2000) private keys into Electrum, but balance is empty and no history has shown. Matter of fact, Electrum looks identical, other than the fact that its a new wallet.

Few side notes, In the keys dump file there is also 2000 strings, all starting with 0014, next to unique addresses.

Another clarification just for my own sake of knowledge, does the key dump from Core actually contain the old wallet data?  I had the Wallet file in the bitcoin wallet directory but was never able to actually open it in btc, and the bitcoin core install was entirely new. Does the dump keys command take data from all wallets or only the open ones?
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
April 14, 2020, 02:13:26 AM
 #30

Few side notes, In the keys dump file there is also 2000 strings, all starting with 0014, next to unique addresses.

Another clarification just for my own sake of knowledge, does the key dump from Core actually contain the old wallet data?  I had the Wallet file in the bitcoin wallet directory but was never able to actually open it in btc, and the bitcoin core install was entirely new. Does the dump keys command take data from all wallets or only the open ones?
1. It must be your addresses' "redeem script" since those are P2SH-P2WPKH addresses.

2. Core should keep the old addresses even after changing the hdseed (like changed passphrase, sethdseed command, etc).
Newer keys/addresses however will have an issue with old backups if the wallet had changed the hdseed after that backup.

Awesome sauce, So i found a way in notepad++ and imported every single (2000) private keys into Electrum, but balance is empty and no history has shown. Matter of fact, Electrum looks identical, other than the fact that its a new wallet.
2000 addresses will take a while to update the history and balance, is Electrum properly connected (Green circle at the lower-right?).

What do you mean "identical"? Same addresses?

You've mentioned that it's an old wallet, how old is that exactly? wallet.dat older than 2017 can't have SegWit addresses.
And you should be informed that Altcoin wallet.dat might work when imported to Bitcoin Core but obviously won't have any balance or history.

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

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

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

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

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

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











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











▄▄▄▄█
grames321 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
April 16, 2020, 11:11:43 PM
 #31

What do you mean "identical"? Same addresses?

You've mentioned that it's an old wallet, how old is that exactly? wallet.dat older than 2017 can't have SegWit addresses.
And you should be informed that Altcoin wallet.dat might work when imported to Bitcoin Core but obviously won't have any balance or history.

Identical just as in, after importing all the keys, none of the tabs changed except for the addresses tab. I'll leave Electrum open for a while, to let it sync. The wallet was made around 2012, and could have been used up until around 2015, which is when my brother gave me the laptop.

Electrum shows what appear to be all 2000 "receiving" addresses in the appropriate tab and the green network icon. If these are the keys from the old wallet.dat then it is showing 0 transactions and balance for all balances.
BitMaxz
Legendary
*
Online Online

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
April 16, 2020, 11:58:37 PM
Last edit: April 17, 2020, 12:08:47 AM by BitMaxz
Merited by bones261 (4)
 #32

~snip~

Did you just paste the private keys to Electrum?

You mentioned earlier that the addresses of your backup start from "3" Am I right?

You need to add "P2WPKH-P2SH" when importing it to Electrum so that it will show the same addresses on Electrum.

Here's the sample:



The XXX must be your private keys.

Ow, it seems someone already mentions this.

Anyway, if you have the list of all 2000 addresses you can use the public key and check them if those addresses have balances.

You can use this tool https://bitcoin-wall.com/check/
Paste all addresses to check each address so that you can find which address that has balance before you import it to Electrum.

The alternative for bulk balance check http://www.homebitcoin.com/easybalance/

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 17, 2020, 02:29:49 AM
 #33

Looking at the dump again, trying not to dox myself, I see the extended private master key and then the plethora of addresses and private keys before them, as well as an hdseed=1, reserve=1 and hdkeypath=m/0... on each line. My keys all start with K or L, don't see any 5's and my addresses all start with 3. The other problem I'm seeing is how ill copy and paste over 4000 strings into Electrum.
The wallet was made around 2012, and could have been used up until around 2015, which is when my brother gave me the laptop.

These two pieces of this puzzle just don't really fit together... "3"-type addresses are "P2SH" addresses and prior to SegWit being introduced were mainly used for "Multi Signature" addresses. However, Bitcoin Core did not produce these address types by default... indeed, creating MultiSig addresses in a Bitcoin Core wallet was a very manual task!

Also, HD wallet functionality was only introduced in Bitcoin Core v0.13.0... which was released on 23 August 2016!!! Shocked

So quite why a Bitcoin Core wallet.dat made in 2012 would have "3" addresses and an "hdseed" in it is very confusing. Huh NOTE that it is not possible to upgrade an "old" wallet to be "HD". You had to create a brand new "HD" wallet file.


Personally, I suspect that this is not in fact an "old" wallet at all... but is in fact an empty wallet.dat that was generated fairly recently (within the last 3 years or so).

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
grames321 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
April 18, 2020, 08:59:37 PM
 #34

Personally, I suspect that this is not in fact an "old" wallet at all... but is in fact an empty wallet.dat that was generated fairly recently (within the last 3 years or so).

Its possible that the keys I extracted were of the blank wallets I created when first messing around with Bitcoin core before making this post. Hence why I asked a bit about how it extracts the private keys.

Another clarification just for my own sake of knowledge, does the key dump from Core actually contain the old wallet data?  I had the Wallet file in the bitcoin wallet directory but was never able to actually open it in btc, and the bitcoin core install was new to this machine. Does the dump keys command take data from all wallets directories or only the ones that have successfully been opened?

Since I was never able to open the wallet or even load it, I suspected that the key dump didnt even include it, but to be fair I have no idea how this all works.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
April 19, 2020, 02:22:25 AM
 #35

Since I was never able to open the wallet or even load it, I suspected that the key dump didnt even include it, but to be fair I have no idea how this all works.
Since there are a bunch of corrupted data in your block files,
try to run Bitcoin Core with a fresh data directory containing a new copy of your old wallet.dat, then open core while offline.
Create a folder to any directory other than the default, then set that temporarily in a bitcoin.conf file inside '%appdata%\bitcoin' folder.

Example (Windows):
  • Create a folder name "bitcoin_temp" to "D" drive.
  • Paste the copy of your wallet.dat inside that folder.
  • Open %appdata% (Win+R, type  %appdata%) then open Bitcoin folder.
  • Create a bitcoin.conf file inside, new->text doc->rename including the extension from "New Text Document.txt" into "bitcoin.conf".
  • Open it using a text editor and type datadir=D:\bitcoin_temp
  • Disable your internet and open Bitcoin-qt, then do the dumpwallet command.
Change the data directory depending where you created the folder.

If the wallet turned out corrupted, start bitcoin-qt with --salvagewallet.
  • Create a shortcut of bitcoin-qt, right-click the shortcut and select properties.
  • In the "target" add <space>--salvagewallet at the end and apply/ok.
  • it should look like this: "C:\Program Files\Bitcoin\bitcoin-qt.exe" --salvagewallet
  • Then open Bitcoin Core using that shortcut.

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

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

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

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

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

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











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











▄▄▄▄█
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 19, 2020, 04:57:43 AM
 #36

Another clarification just for my own sake of knowledge, does the key dump from Core actually contain the old wallet data?  I had the Wallet file in the bitcoin wallet directory but was never able to actually open it in btc, and the bitcoin core install was new to this machine. Does the dump keys command take data from all wallets directories or only the ones that have successfully been opened?

Since I was never able to open the wallet or even load it, I suspected that the key dump didnt even include it, but to be fair I have no idea how this all works.
Bitcoin Core only works on ONE wallet file at a time (unless you explicitly tell it otherwise)... generally, and by default, this will be whatever file is called wallet.dat in Bitcoin Core's "datadir"... just having your "old" wallet file in the directory is not enough, unless it is actually called wallet.dat

So, if Bitcoin Core never successfully opened the wallet.dat file... then there is simply no way it could have dumped the keys out.

If you are unable to open the "old" wallet.dat with Bitcoin Core... it crashes or gives and error... then try nc50lc's suggestion of the --salvagewallet command. If that doesn't work either... then your last resort is probably going to be attempting to dump the keys using PyWallet.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
CoinCircusio
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile WWW
April 19, 2020, 11:12:19 AM
 #37

I've had success recovering old wallets using a combination of PhotoRec and Pywallet
Seems like you already have the wallet.dat, but if you are not sure if you have the correct one you can use PhotoRec to search the disk for wallets.

Then use Pywallet

1. Backup your wallet

2.
Code:
pywallet.py --dumpwallet --datadir c:\  --wallet=wallet.dat --recover --recov_device=C:\<path_to_wallet>\wallet.dat --recov_size=416Gio --recov_outputdir=c:\<new_folder_for_new_wallet>

3. You might need to rename the output file as 'wallet.dat'

4. Place the new wallet in your bitcoin datadirectory

5. Start Bitcoin-QT with the --rescan flag



grames321 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
April 29, 2020, 10:18:10 PM
 #38

Sorry about the radio silence, pandemic and school have been a bit distracting. I'll probably delete the block chain since I wont be needing it and use pywallet to try and extract the privkeys. Thank you all for the advice, I'll come back with the outcome.
Saint-loup
Legendary
*
Offline Offline

Activity: 2604
Merit: 2353



View Profile
August 25, 2020, 12:13:20 PM
 #39

the master private key could be entered at iancoleman.io  
Huh
Where exactly please?
In which field?
Are you sure about that?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
August 25, 2020, 12:32:34 PM
Merited by Saint-loup (1)
 #40

Huh
Where exactly please?
In which field?
Are you sure about that?
Yes. You can enter the master private key at: https://iancoleman.io/bip39/.

Scroll to BIP32 root key and paste your xpriv there. After that, scroll a bit further to change your derivation path to suit your needs.

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

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

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

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

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

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











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











▄▄▄▄█
Pages: « 1 [2] 3 »  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!