Constants§
- BIP32_
HARDEN - BIP-32 harden bit (
0x8000_0000). Indices at or above this already encode hardened.
Functions§
- derive_
key_ path - Appends
indextopath, inserting a/separator when needed. - derive_
key_ path_ checked derive_key_pathplus the harden-bit overflow guard for mnemonic derive consumers.- derive_
private_ key - Derives a private key from a BIP-39 mnemonic using the given BIP-32 path and index.
- derive_
private_ key_ with_ language - Derives a private key from a BIP-39 mnemonic, selecting the wordlist by name.
- private_
key_ from_ u256 - Constructs a [
PrivateKeySigner] from a raw private key value. - validate_
bip32_ path - Reject BIP-32 path components whose parsed index overflows the harden bit.