Bitcoin Forum
May 01, 2024, 06:47:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why can't I retrieve the private key for my bitcoincore wallet address?  (Read 290 times)
simons_js (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 03, 2024, 01:53:13 PM
 #1

I used to have a bitcoincore wallet and kept my private key, but now I lost my private key and my wallet has no balance so it doesn't matter. But when I download the bitcoincore app and create a new wallet, why can't I retrieve the private key? is the only backup I have just the data in wallet.dat? is this safe?
1714546035
Hero Member
*
Offline Offline

Posts: 1714546035

View Profile Personal Message (Offline)

Ignore
1714546035
Reply with quote  #2

1714546035
Report to moderator
1714546035
Hero Member
*
Offline Offline

Posts: 1714546035

View Profile Personal Message (Offline)

Ignore
1714546035
Reply with quote  #2

1714546035
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714546035
Hero Member
*
Offline Offline

Posts: 1714546035

View Profile Personal Message (Offline)

Ignore
1714546035
Reply with quote  #2

1714546035
Report to moderator
1714546035
Hero Member
*
Offline Offline

Posts: 1714546035

View Profile Personal Message (Offline)

Ignore
1714546035
Reply with quote  #2

1714546035
Report to moderator
Forsyth Jones
Hero Member
*****
Offline Offline

Activity: 1148
Merit: 617


Press F for Leo


View Profile WWW
April 03, 2024, 02:14:51 PM
 #2

Bitcoin Core changed the format of wallets from legacy to descriptor to facilitate the manipulation of creating or importing wallets within bitcoin core. See more on: What’s Coming To The Bitcoin Core Wallet in 0.21

In descriptor wallets commands such as dump and importprivkey will not work.

In a descriptor wallet, you own the private keys and you can get them at any time, but you will get them in descriptor format, inside the descriptor will be the xpriv (BIP32 root master private key). With this key, when using third-party tools, you can generate the wallet's individual keys. Just to remind you, Bitcoin Core uses the standard derivation path for descriptor wallets, so:

Code:
Legacy addresses: BIP44
segwit-compatible: BIP49
native Segwit: BIP84
Taproot: BIP86

See more posts on the same subject:

Why is there no possibility to export privkeys when creating a descriptor wallet

What is the difference between an HD wallet and a Descriptor Wallet, if any ?

[SOLVED] How can one make a Paper Wallet from a Descriptor Wallet ?

How to import an xpriv to a descriptor wallet in bitcoin core?




.
 airbet 
██
██
██
██
██
██
██
██
██
██
██
██
██
 .

▄████▄▄▄██████▄
███████████████
███████████████
███████▀▀▀▀████
██████████████
▀███▀███████▄██
██████████▄███
██████████████
███████████████
███████████████
██████████████
█████▐████████
██████▀███████▀
▄███████████████▄
████████████████
█░██████████████
████████████████
████████████████
█████████████████
█████████████████
███████░█░███████
████████████████
█████████████████
██████████████░█
████████████████
▀███████████████▀
.
.
.
.
██▄▄▄
████████▄▄
██████▀▀████▄
██████▄░░████▄
██████████████
████████░░▀███▌
░████████▄▄████
██████████████▌
███░░░█████████
█████████░░░██▀
░░░███████████▀
██████░░░██▀
░░▀▀███▀

   
|.
....
██
██
██
██
██
██
██
██
██
██
██
██
██
.
 PLAY NOW 
simons_js (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 03, 2024, 03:18:01 PM
 #3

Thank you for the explanation, I don't understand it yet but I will try reading from the link you provided
promise444c5
Full Member
***
Offline Offline

Activity: 266
Merit: 129


Keep Promises !


View Profile
April 03, 2024, 09:17:05 PM
Last edit: April 04, 2024, 01:35:22 PM by promise444c5
 #4

Your wallet.dat literally contains your private and aswell as your public key along with your scripts, metadata...... ,Backing up your wallet.dat should be fine to recover your wallet.
And yes it's  safe to recover your wallet with it if you backed it up before you lost  keys access to your wallet
--your question


However, not safe enough to only store your wallet.dat without any encryption  , you should encrypt it before backing it up for any case of malware, theft or attacks , so its highly recommended .

BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2955


Block halving is coming.


View Profile WWW
April 03, 2024, 09:35:29 PM
 #5

Wallet.dat file should be enough as a backup wallet file exporting the descriptor is not safe unless you know what you doing.

But for me. wallet.dat should be enough as a backup and make a multiple copy just make sure that it is encrypted with a passphrase and save it to any offline device like a USB/CD or a hard disk that's not always connected online.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 462
Merit: 486



View Profile WWW
April 04, 2024, 09:34:00 AM
 #6

is the only backup I have just the data in wallet.dat? is this safe?
I do not advise you to extract the private key, a.k.a master private key, as wallet.dat allows you to encrypt your private key with a password, and the stronger and unique it is, the more difficult to hack your wallet.

bitcoincore wallet is not a good option for beginners so why not use any SPV wallet like https://electrum.org or https://sparrowwallet.com where you get your 12 words wallet seed which can be easily stored offline.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
simons_js (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 04, 2024, 10:07:05 PM
 #7

is the only backup I have just the data in wallet.dat? is this safe?
I do not advise you to extract the private key, a.k.a master private key, as wallet.dat allows you to encrypt your private key with a password, and the stronger and unique it is, the more difficult to hack your wallet.

bitcoincore wallet is not a good option for beginners so why not use any SPV wallet like https://electrum.org or https://sparrowwallet.com where you get your 12 words wallet seed which can be easily stored offline.

Yes, for now I have used electrum because it is easier. But because Bitcoin Core is also one of the popular Bitcoin wallets, I also want to have it.

I'm also not interested in making modifications or other things, I prefer to use a wallet with standard functions and the most important thing is that it's safe. Thank you for the advice you gave
LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 05, 2024, 06:13:56 AM
 #8

the most important thing is that it's safe.
If you're using Bitcoin Core as a hot wallet, there's always the risk of online attacks. My advice: keep only amounts you're willing to risk in hot wallets (for daily use), and keep the rest in cold storage.
Also, make a few backups. I prefer different brand USB sticks. And once in a while make a new backup to include newer transaction labels.

simons_js (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 05, 2024, 01:05:20 PM
 #9

the most important thing is that it's safe.
If you're using Bitcoin Core as a hot wallet, there's always the risk of online attacks. My advice: keep only amounts you're willing to risk in hot wallets (for daily use), and keep the rest in cold storage.
Also, make a few backups. I prefer different brand USB sticks. And once in a while make a new backup to include newer transaction labels.

Yes, thanks for your suggestion. I'm also planning to buy a hardware wallet in the next few months. Because I'm still in the bitcoin saving stage and currently don't have much bitcoin.

But I also started to think twice about using Bitcoin Core because the synchronization process takes a lot of time. It might be easier to use electrum. Does using multiple USBs also require having bitcoincore data on each USB?
LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 05, 2024, 01:26:16 PM
 #10

But I also started to think twice about using Bitcoin Core because the synchronization process takes a lot of time.
Luckily, you only have to do that once. After that, is "only" downloads 11 GB per month at current rate.

Quote
It might be easier to use electrum.
Definitely!

Quote
Does using multiple USBs also require having bitcoincore data on each USB?
You only need to backup your wallet, not the blockchain. Worst case, you'll just download it again.

simons_js (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 05, 2024, 02:30:16 PM
 #11

But I also started to think twice about using Bitcoin Core because the synchronization process takes a lot of time.
Luckily, you only have to do that once. After that, is "only" downloads 11 GB per month at current rate.

Quote
It might be easier to use electrum.
Definitely!

Quote
Does using multiple USBs also require having bitcoincore data on each USB?
You only need to backup your wallet, not the blockchain. Worst case, you'll just download it again.

Actually electrum is very simple. One of the reasons why I want to use bitcoincore is because bitcoincore is a wallet created by satoshi.

Do you think both are equally safe? and can you explain a little about the advantages of electrum and bitcoincore?
LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 05, 2024, 02:47:53 PM
 #12

One of the reasons why I want to use bitcoincore is because bitcoincore is a wallet created by satoshi.
Satoshi also descriped the possibility to use a SPV (Simplified Payment Verification) wallet in his whitepaper. That's what Electrum does.

Quote
Do you think both are equally safe? and can you explain a little about the advantages of electrum and bitcoincore?
See: Choose your Bitcoin wallet for pros and cons.

Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 462
Merit: 486



View Profile WWW
April 05, 2024, 03:09:57 PM
 #13

Do you think both are equally safe? and can you explain a little about the advantages of electrum and bitcoincore?
The current code is completely different from what Satoshi wrote. 13 years have passed during which many changes have occurred.
You can compare Electrum Personal Server vs Bitcoin Core because they both run a full node but Electrum is an SPV and can be compared with wallets like Sparrow.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Smartprofit
Legendary
*
Offline Offline

Activity: 2324
Merit: 1771



View Profile WWW
April 06, 2024, 08:49:23 AM
 #14

But I also started to think twice about using Bitcoin Core because the synchronization process takes a lot of time.
Luckily, you only have to do that once. After that, is "only" downloads 11 GB per month at current rate.

Quote
It might be easier to use electrum.
Definitely!

Quote
Does using multiple USBs also require having bitcoincore data on each USB?
You only need to backup your wallet, not the blockchain. Worst case, you'll just download it again.

Actually electrum is very simple. One of the reasons why I want to use bitcoincore is because bitcoincore is a wallet created by satoshi.

Do you think both are equally safe? and can you explain a little about the advantages of electrum and bitcoincore?

From the point of view of the functioning of the Bitcoin network itself (its decentralization and security), it is preferable for users to use the Bitcoin Core wallet.  
Because it is necessary to have a large number of full nodes in different parts of the globe, on different continents - this is the basis for the successful development of the Bitcoin network.  And Bitcoin Core is exactly that wallet that allows you to create full nodes.  Thus, by using the Bitcoin wallet - Bitcoin Core, you are contributing to the development of the Bitcoin ecosystem.  At the same time, Bitcoin Core is very inconvenient to use compared to the lightweight Electrum wallet.  
Bitcoin Core doesn't even support SegWit - this fact amazed me!  That is, by using Bitcoin Core, users lose their money due to higher fees.  
At the same time, it cannot be said that Bitcoin Core is more secure than Electrum - it is not.  
However, it is certainly much more difficult to use and requires very large computer resources.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 06, 2024, 10:01:07 AM
 #15

Bitcoin Core is very inconvenient to use compared to the lightweight Electrum wallet.
Wrong. Bitcoin Core is easy to use. It does exactly what you expect it to do.

Quote
Bitcoin Core doesn't even support SegWit
Wrong. I've been using Segwit addresses on Bitcoin Core for years.

Quote
this fact amazed me!  That is, by using Bitcoin Core, users lose their money due to higher fees.
Wrong. Your "fact" is not a fact. Bitcoin Core transaction fees don't have to be higher than in Electrum.

Quote
At the same time, it cannot be said that Bitcoin Core is more secure than Electrum - it is not.
Just like it can't be said Electrum is more secure than Bitcoin Core. It depends on the user.

Quote
However, it is certainly much more difficult to use and requires very large computer resources.
Wrong. Bitcoin Core is more resource intensive than Electrum, but given current computing power, I wouldn't call it "very large".

Even though I'd generally recommend newbies to use Electrum instead of Bitcoin Core, both have their uses. Electrum for instance will become difficult to use when you've made 10,000 transactions.

Smartprofit
Legendary
*
Offline Offline

Activity: 2324
Merit: 1771



View Profile WWW
April 06, 2024, 12:27:51 PM
 #16

Bitcoin Core is very inconvenient to use compared to the lightweight Electrum wallet.
Wrong. Bitcoin Core is easy to use. It does exactly what you expect it to do.

Quote
Bitcoin Core doesn't even support SegWit
Wrong. I've been using Segwit addresses on Bitcoin Core for years.

Quote
this fact amazed me!  That is, by using Bitcoin Core, users lose their money due to higher fees.
Wrong. Your "fact" is not a fact. Bitcoin Core transaction fees don't have to be higher than in Electrum.

Quote
At the same time, it cannot be said that Bitcoin Core is more secure than Electrum - it is not.
Just like it can't be said Electrum is more secure than Bitcoin Core. It depends on the user.

Quote
However, it is certainly much more difficult to use and requires very large computer resources.
Wrong. Bitcoin Core is more resource intensive than Electrum, but given current computing power, I wouldn't call it "very large".

Even though I'd generally recommend newbies to use Electrum instead of Bitcoin Core, both have their uses. Electrum for instance will become difficult to use when you've made 10,000 transactions.

Yes, thanks for the note.  
Actually, I was wrong—Bitcoin Core fully supports SegWit addresses.  Accordingly, there should be no problems with excessively high commissions when using this wallet.  
It is logical that all modern Bitcoin technologies should be present in it....  Another advantage of Bitcoin Core over Electrum can probably be noted that Electrum uses third-party servers for its work, and this is a potential attack vector.  Probably, for an experienced Bitcoin user, the fact that the entire blockchain is located on his computer is very important.
For the owner of a powerful computer, it may make sense to master the Bitcoin Core wallet.  But now many users get by with a not very expensive and insufficiently powerful laptop in their work (and some even perform many actions using a simple smartphone).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Forsyth Jones
Hero Member
*****
Offline Offline

Activity: 1148
Merit: 617


Press F for Leo


View Profile WWW
April 06, 2024, 12:29:35 PM
Last edit: April 06, 2024, 12:47:41 PM by Forsyth Jones
 #17

-
I don't know where many users come to the conclusion that bitcoin core is not easy to use, apart from the inconvenience of having to download the entire blockchain, it's a wallet as easy and straightforward to use as electrum, wasabi, etc. It doesn't have a Polluted interface with several functions, containing only: overview, send, receive and transactions... what's difficult about that?

Additional resources are found in file, options and in the console we explore 100% of their functionalities.

Does Bitcoin Core not support segwit? I think you haven't opened your Bitcoin Core client since 2017. Bitcoin core is the most complete wallet when we talk about segwit, supporting all 4 types of addresses.

It is logical that all modern Bitcoin technologies should be present in it....  Another advantage of Bitcoin Core over Electrum can probably be noted that Electrum uses third-party servers for its work, and this is a potential attack vector.  Probably, for an experienced Bitcoin user, the fact that the entire blockchain is located on his computer is very important.
For the owner of a powerful computer, it may make sense to master the Bitcoin Core wallet.  But now many users get by with a not very expensive and insufficiently powerful laptop in their work (and some even perform many actions using a simple smartphone).
You are right, it is also possible to use electrum by connecting directly from your full node both locally and remotely through the Electrum personal server, electrs, electrumX etc.

I currently no longer use the aforementioned tools, since with the support for descriptors in bitcoin core, it's much better to use in bitcoin core, as I can import any wallet in xpub/xpriv into bitcoin core without needing to use wallets like electrum.

.
 airbet 
██
██
██
██
██
██
██
██
██
██
██
██
██
 .

▄████▄▄▄██████▄
███████████████
███████████████
███████▀▀▀▀████
██████████████
▀███▀███████▄██
██████████▄███
██████████████
███████████████
███████████████
██████████████
█████▐████████
██████▀███████▀
▄███████████████▄
████████████████
█░██████████████
████████████████
████████████████
█████████████████
█████████████████
███████░█░███████
████████████████
█████████████████
██████████████░█
████████████████
▀███████████████▀
.
.
.
.
██▄▄▄
████████▄▄
██████▀▀████▄
██████▄░░████▄
██████████████
████████░░▀███▌
░████████▄▄████
██████████████▌
███░░░█████████
█████████░░░██▀
░░░███████████▀
██████░░░██▀
░░▀▀███▀

   
|.
....
██
██
██
██
██
██
██
██
██
██
██
██
██
.
 PLAY NOW 
LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 06, 2024, 03:44:57 PM
Merited by Smartprofit (2)
 #18

Electrum uses third-party servers for its work, and this is a potential attack vector.
I've never read about an attack by giving fake block information or something. The only thing I've seen is a server telling the user to download malware.

Quote
For the owner of a powerful computer, it may make sense to master the Bitcoin Core wallet.  But now many users get by with a not very expensive and insufficiently powerful laptop in their work
My laptop is 9 years old, and far from powerful. But Bitcoin Core is not a problem. Have you ever used Bitcoin Core? If not, you should try it! Don't forget to enable Coin Control and walk through the options a bit, so you know what you can edit. And make a backup of your wallet before funding it.

LoyceV
Legendary
*
Online Online

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 07, 2024, 08:43:51 PM
 #19

if an extensive group of hackers had control over the majority of the computational power in a blockchain network
In the scenario of a 51% attack, neither Bitcoin Core nor Electrum is going to help you.

nc50lc
Legendary
*
Online Online

Activity: 2394
Merit: 5571


Self-proclaimed Genius


View Profile
April 08, 2024, 04:08:16 AM
Merited by LoyceV (1), ABCbits (1)
 #20

This thread has gone from the original topic: "Cant export private key from a descriptor wallet" to "Bitcoin Core and Electrum" and now "51% attack".
The earlier replies are understandable since it's OP's concern of finding alternative to export private key, and OP was engaging.
But the later ones are getting off-topic.

I'm not a moderator but it would be appreciated if any additional info is posted as a new separate topic.
Reference:
2. No off-topic posts.

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

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

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

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

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

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











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











▄▄▄▄█
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!