cardano_byron_legacy_bip32

Module for keys derivation based for Cardano Byron (legacy).

class CardanoByronLegacyBip32(priv_key: Optional[Union[bytes, IPrivateKey]], pub_key: Optional[Union[bytes, IPoint, IPublicKey]], key_data: Bip32KeyData, key_net_ver: Bip32KeyNetVersions)

Bases: Bip32Base

Cardano Byron legacy BIP32 class. It allows master keys generation and keys derivation for Cardano-Byron (legacy, used by old Daedalus). Derivation based on BIP32 ed25519 Khovratovich/Law with a different algorithm for master key generation and keys derivation.

static CurveType() EllipticCurveTypes

Return the elliptic curve type.

Returns:

Curve type

Return type:

EllipticCurveTypes

m_priv_key: Optional[Bip32PrivateKey]
m_pub_key: Bip32PublicKey