hd_wallet_monero

Module for generating Monero wallets.

class HdWalletMonero(wallet_name: str, monero_obj: Monero, mnemonic: str = '', seed_bytes: bytes = b'')

Bases: HdWalletBase

HD wallet Monero class. It allows to generate a Monero wallet like the official one.

m_monero_obj: Monero
Generate(**kwargs: Any) None

Generate wallet keys and addresses.

Parameters:
  • acc_idx (int, optional) – Account index (default: 0)

  • subaddr_num (int, optional) – Subaddress number (default: 0)

  • subaddr_off (int, optional) – Starting subaddress index (default: 0)

IsWatchOnly() bool

Get if the wallet is watch-only.

Returns :

bool: True if watch-only, false otherwise