hd_wallet_electrum_v2_keys
Module with helper class for storing Electrum V2 keys.
- class HdWalletElectrumV1KeyUtils
Bases:
objectClass container for HD wallet Electrum keys utility functions.
- static PrivToWif(priv_key: Bip32PrivateKey) str
Encode private key to WIF.
- Parameters:
priv_key (Bip32PrivateKey object) – BIP32 p rivate key
- Returns:
WIF encoded key
- Return type:
str
- class HdWalletElectrumV2MasterKeys(electrum_obj: ElectrumV2Base)
Bases:
HdWalletKeysBaseHD wallet Electrum master keys class. It creates master keys from an ElectrumV2 object and store them. Keys can be got individually, as dictionary or in JSON format.
- m_key_enum: Type[Enum]
- m_dict_data: Dict[str, Any]
- class HdWalletElectrumV2DerivedKeys(electrum_obj: ElectrumV2Base, change_idx: int, addr_num: int, addr_off: int)
Bases:
HdWalletKeysBaseHD wallet Electrum derived keys class. It creates derived keys from an Electrum object and store them. Keys can be got individually, as dictionary or in JSON format.
- m_key_enum: Type[Enum]
- m_dict_data: Dict[str, Any]