Wallet Management
Manage Qi and Quai HD wallets.
The QiHDWallet class provides additional low-level functionality on top of the base Wallet class, allowing for more granular control and wallet management.
Initialize a Quai HD Wallet
You can initialize a Quai HD wallet by creating a new instance from a mnemonic:
It is highly recommended to import secret phrases securely from environment variables or files.
Derive Addresses
Quai HD wallets allow for derivation of multiple accounts, addresses, and specific zones from a single mnemonic as specified by BIP-32.
The HD Wallet also provides a number of methods to return data for derived addresses by certain filters:
Storage and Transmission
Wallet storage and transmission can be securely done using a serialized representation of the wallet. The HD wallet provides functionality for both serializing and deserializing the wallet.
Was this page helpful?