Questions tagged [hardened-derivation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 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
  • 127
2 votes
1 answer
168 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,029
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
0 votes
1 answer
60 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
2 votes
1 answer
91 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
130 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
  • 287
2 votes
1 answer
72 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
1 vote
1 answer
73 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
522 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
120 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
1 answer
59 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
  • 141
0 votes
2 answers
636 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
389 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
1 answer
423 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
3 votes
1 answer
129 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
149 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
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
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