5 votes

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

There is an open PR which changes the hardened character to h. In some shells, you can also escape the ' with a backslash (i.e. \') and bash will no longer consider that single quote to be the end ...
Andrew Chow's user avatar
  • 68.6k
4 votes

What is the purpose of BIP32 derivation paths in PSBT?

The PSBT comes with the witness script. The witness script contains derived public keys with no information about their origin. The derivation paths in the PSBT tells the signer: What extended key ...
Antoine Poinsot's user avatar
3 votes

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

How compromised is the wallet? Just from that leaked child down the tree or?? With unhardened derivation, knowing the parent xpub, a child private key, and the index of the child allows for the ...
Andrew Chow's user avatar
  • 68.6k
3 votes
Accepted

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

It indicates that hardened derivation should be used for that step. BIP 32 specifies a "hardened" derivation method. This method is different from the "unhardened" method in that ...
Andrew Chow's user avatar
  • 68.6k
3 votes

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

If so, why has it made into the standard, what would be good case examples? It has become the standard because unhardened derivation is the direction bitcoin core has decided to go, and they have a ...
m1xolyd1an's user avatar
  • 5,596
2 votes
Accepted

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

You're quite right that in theory, there is likely no difference between using BIP32 hardened derivation, and using a secret xpub (I won't say no difference with certainty, as I'm not sure a security ...
Pieter Wuille's user avatar
2 votes
Accepted

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

No, there generally is no benefit to use hardened derivation following unhardened derivation. I'm also not aware of anyone using such a construction. However there are test vectors that do this since ...
Andrew Chow's user avatar
  • 68.6k
2 votes

How to explore hardened addresses in bitcoin core descriptor wallet

You've imported the descriptor with "internal": true which means that the descriptor will be used only for change addresses. You cannot retrieve any addresses from it with getnewaddress as ...
Andrew Chow's user avatar
  • 68.6k
2 votes

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

2 billion keys within one wallet ought to be enough for everyone. There haven't been even that many transactions in all of Bitcoin's history.
Pieter Wuille's user avatar
2 votes

Why doesn't Casa use hardened derivation?

Hardened derivation requires knowledge of the private keys to be able to derive additional public keys. Since both Casa and their customer only control a subset of the private keys in the quorum, ...
Murch's user avatar
  • 72.8k
2 votes

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

in the second method the child key which we would previously in the first method consider as PRIVATE, here we consider as PUBLIC key - it just seems as we just give the resulting left-256 bits ...
Andrew Chow's user avatar
  • 68.6k
2 votes
Accepted

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

The purpose of unhardened derivation is to allow for cases 1 and 2 to derive the same keys as each other. It works because both actually hash the same data, and that adding two scalars will result in ...
Andrew Chow's user avatar
  • 68.6k
1 vote

Unable to derive child keys from subkeys

I answered my own question, I was doing addition in the field of P instead of mod N, in case anyone gets caught out by this!
Chiru's user avatar
  • 141
1 vote

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

That is only the limit per account. Just increment your account# by one, and you get another couple billion. Which may as well be infinity in practice. xPub for their public key derivation because in ...
HansBKK's user avatar
  • 415
1 vote

Can't Access funds due to derivation path

Andrew Chow answered in the comments. It was at the root! So path m.
gkrizek's user avatar
  • 160
1 vote
Accepted

How are derivation paths stored and regenerated for HD wallets?

I'm not a wallet developer but this is how I imagine the process of discovering funds in a seeded HD wallet works: Start generating addresses for Account #0 and check if they appear in the blockchain ...
Vojtěch Strnad's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible