Questions tagged [hardened-derivation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
46 votes
1 answer
9k views

ELI5: What's the difference between a child-key and a hardened child-key in BIP32

I've read BIP32, and I do understand it more or less. Could someone please explain to me like I'm 5 years old what the difference between a child-key and a hardened child-key is? I'm trying to add ...
Amin Shah Gilani's user avatar
4 votes
1 answer
74 views

Is there any benefit from creating hardened child keys from unhardened parents?

In the context of BIP32, is there any benefit from deriving a hardened key from an unhardened parent? E.g., m/0'/0/0'? Are there any examples of where such a key is being used?
aryzing's user avatar
  • 143
3 votes
1 answer
145 views

What does an apostrophe at the end of a derivation path mean?

If I generate addresses with m/44'/0'/0'/0', m/44'/0'/0'/1', what is the difference compared with m/44'/0'/0'/0, m/44'/0'/0'/1?
Gabriel's user avatar
  • 35
3 votes
1 answer
162 views

How are derivation paths stored and regenerated for HD wallets?

HD wallets create derivation paths for generated keys. But if you need to regenerate these keys with your seed or master key, where do you get the derivation paths? I don't see how they can be stored ...
Matt Tainsh's user avatar
2 votes
1 answer
113 views

The hardened character does not work directly with bitcoin core importdescriptors RPC

When I importdescriptors to another bitcoin core wallet using the descriptor shown in the bitcoin core, the descriptor with hardened character can not used directly. example: importdescriptors '[{ &...
MonKong's user avatar
  • 53
2 votes
1 answer
91 views

What is the purpose of BIP32 derivation paths in PSBT?

Does the wallet software use the Bip32 derivation paths to generate the partial signature map?
btctestdev11's user avatar
2 votes
1 answer
143 views

What are business cases with hardened child derivation (bitcoin)? What wallets support it?

Looks like many widely used wallets do not support hardened child key derivation. E.g. Sparrow, Electrum, etc. If so, why has it made into the standard, what would be good case examples? Speaking ...
Meglio's user avatar
  • 289
2 votes
1 answer
316 views

What's the point of hardened derivation when we can achieve the same effect using non-hardened derivation with a secret parent chain code?

We can use xpub (extended public key) if we want to generate a new public key (and further the address) on some insecure website for each new order without knowing the private key. We'll do this by ...
dassd's user avatar
  • 1,059
2 votes
0 answers
59 views

Is BitCoin developer page's HD Wallet image wrong

Here is the image I copied from the https://developer.bitcoin.org/devguide/wallets.html#id9 What I understand is that M/0'/1' can derive M/0'/1'/0. M/0'/1' can't derive M/0'/1'/0'. To derive M/0'/1'/0,...
juhyung park's user avatar
1 vote
1 answer
492 views

How exactly can hardened keys work?? (HD Wallets!)

After reading Chptr 5, Wallets, from the Bitcoin Book, I have some questions: So I understand that the leak of an xpub+child priv key = compromised wallet. 1)How compromised is the wallet? Just from ...
Tasi Tele's user avatar
1 vote
1 answer
81 views

Why doesn't Casa use hardened derivation?

I've noticed that Casa uses non-hardened derivation paths for both their key and my HW keys. The path is the following m/49/0/1. Does anyone have an idea of why it's the case? I mean, the risk of ...
beefgroin's user avatar
1 vote
1 answer
597 views

How to get Private Keys for the corresponding HD generated Child Public Keys?

If we take a look at the Mastering Bitcoin book by Antonopoulos it is explained how to derive child keys as described in BIP-32: From this image it is easily visible that we can use parent public key ...
Boki XD's user avatar
  • 57
1 vote
1 answer
125 views

Does derivation from public and private keys give the same result in normal key derivation?

I am reading about key derivation in chapter 5 of the book "Mastering Bitcoin" by Andreas, along with this detailed thread and BIP-32. Here are some of my understanding about these two ...
John Pham's user avatar
0 votes
2 answers
728 views

According to BIP44 each HD wallet have a finite number of 2^32 addresses, Why is that the case?

According to BIP32 we can have a seed from which we derive all our private and public keys, so in theory we can have an "infinite" number of child and grandchild keys so why does BIP44 limit ...
Adolin's user avatar
  • 1
0 votes
1 answer
74 views

How to explore hardened addresses in bitcoin core descriptor wallet

I created an blank descriptor wallet and imported a xprv key. importdescriptors '[{ "desc":"wpkh(tpr..../0h/*h)#td3snsa4", "timestamp":"now", "internal&...
MonKong's user avatar
  • 53
0 votes
1 answer
70 views

Unable to derive child keys from subkeys

I'm trying to implement bip32 derivation and have been able to derive the child keys from the master node, but not children of the child key. The following test shows the correct result in bytes for ...
Chiru's user avatar
  • 151
0 votes
1 answer
416 views

Can't Access funds due to derivation path

I created a seed phrase and public key via the following Node.js code: const mnemonic = bip39.generateMnemonic() const seed = await bip39.mnemonicToSeed(mnemonic) const node = bip32.fromSeed(seed) ...
gkrizek's user avatar
  • 160
0 votes
0 answers
60 views

Are some derivation paths more secure than others?

I'm planning to create a seed which will be my main BTC "account". I've been reading up on how the private master key is derived from the seed, and how keys are derived from a master private ...
mathboi's user avatar
  • 183
-1 votes
1 answer
105 views

deriving the master public key and the btc address from seed phrase of electrum wallet

I am searching for an exact python code that can take a standard wallet seed as input and output the the root key or xpub master public key. I had tried several codes but none of them gave me the '...
he lo's user avatar
  • 3