WalletServiceCLIwavecli create

Create

Create initializes a new wallet from a freshly generated aezeed mnemonic. The daemon generates the seed, encrypts it with the supplied password, and returns the mnemonic so the caller can record it. For recovery flows the caller MAY supply an existing mnemonic in the request; in that case the same mnemonic is echoed back. Proxies waverpc.GenSeed + waverpc.InitWallet server-side.

Endpoints

gRPCrpc Create(CreateRequest) returns (CreateResponse)
RESTPOST/v1/wallet/create

Examples

wavecli create

RequestCreateRequest

CreateRequest carries the parameters for WalletService.Create: the encryption password, optional seed material, and recovery options.

FieldTypeDescription
wallet_passwordbytes

wallet_password is the password used to encrypt the on-disk seed. Must be at least 8 bytes. The password is consumed and zeroed by the daemon after wallet initialization.

seed_passphrasebytes

seed_passphrase is the optional aezeed passphrase (BIP39-style 25th-word) protecting the mnemonic itself. Distinct from wallet_password.

mnemonicrepeated string

mnemonic is the 24-word aezeed mnemonic to import. Empty means "generate a fresh seed"; non-empty means "recover from this mnemonic". When non-empty the response echoes the same mnemonic back unchanged.

recover_statebool

recover_state asks the daemon to scan deterministic Ark wallet keys after importing mnemonic and rebuild local Ark state from chain and indexer data.

recovery_windowuint32

recovery_window is the number of key indexes to scan per recovery key family. Zero uses the daemon wallet.recoverywindow config value.

ResponseCreateResponse

CreateResponse returns the wallet mnemonic and identity, plus a summary of any Ark-state recovery performed during Create.

FieldTypeDescription
mnemonicrepeated string

mnemonic is the 24-word aezeed mnemonic for the wallet. For fresh wallets (request mnemonic empty) this is the newly generated seed and the caller MUST persist it offline before any unlock sequence - losing it makes the wallet unrecoverable. For recovery flows (request mnemonic supplied) this is the same mnemonic echoed back for confirmation.

identity_pubkeystring

identity_pubkey is the hex-encoded daemon wallet identity public key derived from the newly created wallet.

recovery_ranbool

recovery_ran is true when Create attempted Ark-state recovery.

recovered_boarding_addressesuint32

recovered_boarding_addresses is the number of boarding addresses rebuilt and persisted from deterministic keys.

recovered_boarding_utxosuint32

recovered_boarding_utxos is the number of confirmed wallet UTXOs found at recovered boarding addresses during the recovery scan.

recovered_vtxosuint32

recovered_vtxos is the number of indexed VTXOs restored into local wallet state.

recovered_oor_receive_scriptsuint32

recovered_oor_receive_scripts is the number of registered OOR receive scripts matched and restored into local ownership metadata.

recovered_oor_eventsuint32

recovered_oor_events is the number of OOR recipient events processed during recovery.