Using Wallet CLI¶
Implementation references:
- CLI args:
src/zedwallet++/ParseArguments.cpp - Command catalog:
src/zedwallet++/Commands.cpp
This project's interactive wallet CLI binary is wrkz-wallet.
Start the CLI¶
Show help:
Open an existing wallet from command line:
./wrkz-wallet \
--wallet-file wallet.wallet \
--password "wallet-pass" \
--remote-daemon 127.0.0.1:17856 \
--threads 4
Useful startup options:
--wallet-file <file>--password <pass>--remote-daemon <host:port>--threads <n>--scan-coinbase-transactions--log-level <n>--log-file <file>--ssl(when SSL support is compiled)
--remote-daemon also accepts an IPv6 address in brackets ([2001:db8::1]:17856) and, on POSIX, a local IPC socket — an absolute path, an @name in the abstract namespace, or an ipc://path. See Local IPC and Console.
Startup menu actions¶
When no wallet is preselected, common startup choices include:
opencreateseed_restorekey_restoreview_walletexit
Common interactive commands¶
General/help:
helpadvancedexit
Status and sync:
statusrefreshswap_node
Wallet info:
addressbalance
Transactions:
transfersend_allsweepsweep_allincoming_transfersoutgoing_transferslist_transferstxstxs_fullget_tx_private_keycheck_tx <hash>decode_integrated
Address and payment tools:
make_integrated_address
Address book:
ab_addab_deleteab_listab_send
Security and maintenance:
backupchange_passwordsavesave_csvresetset_log_level
Example session flow¶
- Start:
-
Create or open wallet in startup menu:
-
createoropen -
Check readiness:
-
status balance-
address -
Send funds:
-
transfer -
Confirm activity:
-
txs incoming_transfers-
outgoing_transfers -
Save and exit:
-
save exit