Bitcoin Forum
November 27, 2026, 03:34:30 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the best/correct way to manage new HD wallets  (Read 97 times)
tuaris (OP)
Hero Member
*****
Offline

Activity: 801
Merit: 547



View Profile WWW
December 13, 2024, 08:21:10 PM
Last edit: December 13, 2024, 09:25:05 PM by tuaris
Merited by ABCbits (1)
 #1

No doubt I believe HD wallets are better (especially the ability to generate addresses with only a public key).  They solve a few other quirks that have bugged me.  However I have gotten pretty comfortable with the "legacy wallets".  Backup and restoration was just making sure you had your private key physically and safely stashed away somewhere offline.  The Bitcoin on those private keys will always be accessible regardless of future file formats and bitrot, or data loss.

How do I achieve the same sense of 'security' with an HD wallet.  It doesn't seem it's that simple any more.  Sure, I can backup the data itself, but I want the assurance of a text based backup.  Data formats change.  Imagine 30 years from now if I had kept only the Berkeley DB 4.8 binary wallet file?  It would be pretty near impossible to find a working system that could read that, let alone a Bitcoin wallet that would work with it.

Is the `listdescriptors true` command what I want here?

Upgrade00
Legendary
*
Offline

Activity: 2940
Merit: 3011


Community Manager - Brand Promotions ✅


View Profile WWW
December 13, 2024, 09:39:26 PM
Merited by ABCbits (1), Mia Chloe (1)
 #2

No doubt I believe HD wallets are better (especially the ability to generate addresses with only a public key).
Addresses generated like these are watching only.

How do I achieve the same sense of 'security' with an HD wallet.  It doesn't seem it's that simple any more.  Sure, I can backup the data itself, but I want the assurance of a text based backup.  
With a seedphrase you can have the exact same text based backup with your HD wallets. The seedphrase represents your master public key and accesses all other private and public keys under it. You do not have any compromise with n security.

███████████████████████████
███████▄████████████▄██████
████████▄████▄████▄████████
███▀█████▀█▄███▄█▀█████▀███
█████▀█▀█▄██▀▀▀██▄█▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄█▀██▄▄▄██▀█▄██▄████
████▄████▄█▀███▀█▄████▄████
██▄███▀▀█▀███▀███▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits..REWARDING, BEYOND LIMITS...
█████████████████████████
█████████████████████████
███████████▀▀░░▀█▄░░▀████
████████▀░░░░░░░░▀█▄░████
███████░░░░▄▄░░▄░░░▀█████
██████░░░░░▀▀▄██▀░░░░████
█████░░░██░▄██▀▄▄░░░█████
████░░░░░▄██▀░░▀▀░░██████
█████▄░░▀█▀░██░░░░███████
████░▀█▄░░░░░░░░▄████████
████▄░░▀█▄░░▄▄███████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████▀░░▀░███████████
████████░░░▄░█░██████████
███████████▌▐██░█████████
███████████░███▌▐████████
██████████░█████░████████
██████▀░▄░▀███▀░▄░▀██████
█████░▄▀░░░░█░▄▀░░░░█████
█████░░░░░░░█░░░░░░░█████
██████▄░░░▄███▄░░░▄██████
█████████████████████████
█████████████████████████
█
█
█
█
█
█
█
█
█
█
█
█
█

█
█
█
█
█
█
█
█
█
█
█
█
█

  PLAY NOW  
Mia Chloe
Legendary
*
Offline

Activity: 1274
Merit: 2325


Contact me for you designs...


View Profile
December 13, 2024, 09:57:20 PM
 #3

Upgrade00 gave most of the gist already. The fact is most of these wallet softwares are backwards compatible meaning even if you make use of an old legacy address seed, you will still get a valid checksum as long as the word combination is correct. people these days switch to the latest SEGWIT and HD wallets because of it's efficiency and an security compared to the old legacy address.

One of the biggest plus when you make use of the HD wallet is that you actually get to make more private transactions because of the way the wallet tends to consolidate and move coins around change addresses so its difficult to track both your transactions and your total balance. Also, the BIP39 seed is capable of hashing private keys and public keys for a legacy address too under the HD wallet.

khaled0111
Legendary
*
Offline

Activity: 3458
Merit: 3509


NO DEPO CODE VEGAR7, NO KYC Casino


View Profile WWW
December 13, 2024, 11:27:19 PM
 #4

^^
OP is most likely using bitcoin core which doesn’t support seed phrases. And by legacy wallet, I believe he is referring to the wallets core used to create before the introduction of hd wallets and not referring to address types (legacy/segwit). Back then bitcoin core (bitcoin-Qt to be more precise) used to generate a set of new random private keys each time you run out of addresses. So, you had to regularly back up your wallet.

OP, although it’s highly recommended to backup your wallet file, you can also back up the extended private key by writing it down on a piece of paper. All the addresses on your hd wallet are derived from it.


██████
██
██

████████████████
███████████████
██████████████
██████████████▄▄████▄▄████▄▄███████▌██▄▄████▄██
█████████████▄██▀▀▀▀██▄██▄███▀███████▄██▀▀▀▀███
████████████▐██▄▄▄▄▄▄██▌▐██▀███████▌▐███████▐██
████████████▐██▀▀▀▀▀▀▀▀█▐██▄███████▌▐██▄████▐██
█████████████▀██▄▄▄▄█████▀███▄▄▄██▀██▀██▄▄▄▄███
███████▀███████▀▀▀▀▀▀██████▀▀▀▀▀▀█▄▌███▀▀▀▀▀█▀▀
████████████████████████████▄███▄██
███████████████████████████▀█████▀










██
██
██████
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄█████████████████████▄
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀███████████████████▀
▀███████████████▀
▀▀███████▀▀
│ 
  150 FS NO DEPOSIT BONUS ..... Subscribe to Our Telegram ( > ) .....   PLAY NOW   
│
hd49728
Legendary
*
Offline

Activity: 3024
Merit: 1417



View Profile
December 14, 2024, 02:27:02 AM
 #5

How do I achieve the same sense of 'security' with an HD wallet.  It doesn't seem it's that simple any more.
HD wallets are good wallets to use for storing your bitcoin and broadcast your transaction without leaking private keys online but to use it well and safely, you must start with good practice of purchasing your HD wallets and backups.

There are close source and open source HD wallets, and you must choose open source HD wallets.

[LIST] Open Source Hardware Wallets
[GUIDE] How to buy a Hardware Wallet the right way
How to back up a seed phrase?

LoyceV
Legendary
*
Offline

Activity: 4242
Merit: 23251


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 14, 2024, 07:58:57 AM
Merited by ABCbits (1)
 #6

HD wallets are good wallets to use for storing your bitcoin and broadcast your transaction without leaking private keys online but to use it well and safely, you must start with good practice of purchasing your HD wallets and backups.
HD stands for "Hierarchical Deterministic": it's a wallet that derives all new addresses from one "seed". It doesn't have to be a hardware wallet.

How do I achieve the same sense of 'security' with an HD wallet.  It doesn't seem it's that simple any more.  Sure, I can backup the data itself, but I want the assurance of a text based backup.  Data formats change.
You could keep a copy of the software (Bitcoin Core, I assume) with your backup. But I get your feeling of being uncomfortable with a modern wallet, and for the same reason I haven't switched to a descriptor wallet yet. It feels much more like a black box to me than simple old-fashioned private keys.
Just a thought: you don't have to switch to a new format. If you like your current legacy wallet with legacy addresses, just keep them. Or only move small amounts to a new wallet for daily expenses.

When it comes to 12 or 24 word seed phrases, I like to verify if I can use the Mnemonic Code Converter (offline of course, on a system running from RAM that gets wiped right after) if I can "manually" reproduce the same addresses. So far, it worked, and it gives me peace of mind. But I don't think that's possible if you use Bitcoin Core's HD wallet.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
[MUSIC] The Ballad of LoyceV
tiffy
Jr. Member
*
Offline

Activity: 58
Merit: 61


View Profile
December 14, 2024, 11:24:36 AM
 #7

Is the `listdescriptors true` command what I want here?

Yes, that's exactly what you're looking for. This describes your HD Wallet mathematical complete. Even if your backup of wallet.dat is lost, you can use this output to restore your wallet. It contains the xprv key from which all key material can be derived.

If you use listdescriptors (without true), you will get the descriptors with the corresponding xpub keys. You can use this to set up a watch-only wallet on an online system.

I had exactly the same problem/questions as you.

This is how I proceeded:

  • First I wrote `listdescriptors true` in a file on my offline system. Then I wrote down the xprv key manually. Then I removed the xprv key in the file from all descriptors and replaced it with a string, for example:
    '__XPRV-KEY-HERE__'
  • I then saved the file with the descriptors (without xprv key) electronically and also printed it out.
  • Finally (for testing only), I took a completely new offline system and merged the descriptor file and the xprv key again. I imported the result into the core client and used it to sign a test transaction.

The encoded xprv key is about twice as long as the old legacy keys. But you have stored all the private keys of your wallet with it. 

This is not a complete description of what to do. But I hope this gives you an idea of how you can proceed for your purposes.
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!