Create Quai Wallet
create_walletGenerate a new Quai wallet and store it encrypted under a name and password. Optionally creates a paired Qi wallet, ensuring secure local storage for future transactions.
Instructions
Generate a brand-new Quai (QUAI-ledger) private key and address, and store it encrypted under a name and password -- this is a custodial store: the tool remembers the wallet, you don't have to pass a raw key around again. The private key is encrypted at rest with the standard Ethereum/Web3 V3 keystore format (scrypt + AES-128-CTR + MAC, the same scheme geth and MetaMask use) and written to disk with owner-only file permissions; it is never returned in this tool's output and never logged. Because Quai addresses are location-aware, this 'grinds' (retries with fresh randomness) until the address falls in the zone you ask for (default: cyprus1). Use send_transaction with this wallet's name and password to actually spend from it. By default this ALSO creates a paired Qi-ledger wallet under the same name and password (see pairQiWallet) in the same zone, so a QUAI -> Qi conversion always has somewhere to land that you can actually check and spend from -- set pairQiWallet to false to skip that and only create the QUAI wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for this wallet (letters, numbers, "-", "_"; 1-64 chars). Must not already exist. | |
| zone | No | The zone the generated address (and paired Qi address, if created) should belong to. | cyprus1 |
| password | Yes | Password to encrypt the wallet with (minimum 8 characters). Used for the paired Qi wallet too, if created. You will need this again to send from either. It is not stored anywhere. | |
| pairQiWallet | No | If true (default), also create a Qi-ledger wallet under the same name and password. Set false to create only the QUAI wallet. |