Create Qi Wallet
create_qi_walletGenerate an encrypted Qi wallet to provide a recoverable destination for QUAI-to-Qi conversions, enabling later balance checks and conversion back to QUAI.
Instructions
Generate a new Qi-ledger wallet (Quai's UTXO-based ledger, distinct from the account-based QUAI wallets create_wallet makes) and store it encrypted under a name and password. Use this so a QUAI -> Qi conversion (see send_transaction / get_conversion_rate) has somewhere real to land that this server can later check the balance of and convert back to QUAI with convert_qi_to_quai -- without a Qi wallet, converting into Qi sends it somewhere you may have no way to use again. Internally this is an HD (mnemonic-based) wallet, since Qi requires deriving addresses and scanning unspent outputs rather than a single keypair; only the mnemonic is encrypted at rest (same V3 keystore scheme as create_wallet: scrypt + AES-128-CTR + MAC), and it is never returned in this tool's output. Tip: create_wallet can create one of these automatically alongside a new QUAI wallet (pairQiWallet, on by default) -- use this tool directly only when you want a standalone Qi wallet or a different zone/name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for this wallet (letters, numbers, "-", "_"; 1-64 chars). Must not already be used by another Qi wallet -- reusing a QUAI wallet's name pairs with it (see create_wallet's pairQiWallet). | |
| zone | No | The zone the receiving address should belong to. | cyprus1 |
| password | Yes | Password to encrypt the wallet with (minimum 8 characters). Not stored anywhere. |