ibip32_mst_key_generator
Module for BIP32 SLIP-0010 keys derivation.
- class IBip32MstKeyGenerator
Bases:
ABC
Interface for generic BIP32 master key generator.
- abstract classmethod GenerateFromSeed(seed_bytes: bytes) Tuple[bytes, bytes]
Generate a master key from the specified seed.
- Parameters:
seed_bytes (bytes) – Seed bytes
- Returns:
Private key bytes (index 0) and chain code bytes (index 1)
- Return type:
tuple[bytes, bytes]
- Raises:
Bip32KeyError – If the seed is not suitable for master key generation
ValueError – If seed length is not valid