hd_wallet_substrate
Module for generating Substrate wallets.
- class HdWalletSubstrate(wallet_name: str, substrate_obj: Substrate, mnemonic: str = '', passphrase: str = '', seed_bytes: bytes = b'')
Bases:
HdWalletBaseHD wallet Substrate class. It allows to generate a Substrate wallet like the official one.
- m_substrate_obj: Substrate
- Generate(**kwargs: Any) None
Generate wallet keys and addresses.
- Parameters:
path (str, optional) – Derivation path (default: empty)
- IsWatchOnly() bool
Get if the wallet is watch-only.
- Returns :
bool: True if watch-only, false otherwise