Supports both XPRIV/0' and XPRIV/0h.
Or with the wildcard modifier: XPRIV/*' and XPRIV/*h.
When converted into a pubkey, all hardened derivation steps are resolved and moved to the key origin, leaving only tailing non-hardened derivation steps. For example, pubkey(XPRIV/1'/2'/3/4) would give back [ffd2a052/1'/2']XPUB/3/4 (ffd2a052 being XPRIV's fingerprint).
Refactored into a new
SlashOp
.Supports both
XPRIV/0'
andXPRIV/0h
. Or with the wildcard modifier:XPRIV/*'
andXPRIV/*h
.When converted into a pubkey, all hardened derivation steps are resolved and moved to the key origin, leaving only tailing non-hardened derivation steps. For example,
pubkey(XPRIV/1'/2'/3/4)
would give back[ffd2a052/1'/2']XPUB/3/4
(ffd2a052
beingXPRIV
's fingerprint).