hd_wallet_electrum_v1_keys

Module with helper class for storing Electrum V1 keys.

class HdWalletElectrumV1KeyUtils

Bases: object

Class container for HD wallet Electrum keys utility functions.

static PrivToWif(priv_key: IPrivateKey) str

Encode private key to WIF.

Parameters:

priv_key (IPrivateKey object) – Private key

Returns:

WIF encoded key

Return type:

str

class HdWalletElectrumV1MasterKeys(electrum_obj: ElectrumV1)

Bases: HdWalletKeysBase

HD wallet Electrum master keys class. It creates master keys from an ElectrumV1 object and stores them. Keys can be got individually, as dictionary or in JSON format.

m_key_enum: Type[Enum]
m_dict_data: Dict[str, Any]
class HdWalletElectrumV1DerivedKeys(electrum_obj: ElectrumV1, change_idx: int, addr_num: int, addr_off: int)

Bases: HdWalletKeysBase

HD wallet Electrum derived keys class. It creates derived from an Electrum object and stores them. Keys can be got individually, as dictionary or in JSON format.

m_key_enum: Type[Enum]
m_dict_data: Dict[str, Any]