Skip to content

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:

./wrkz-wallet --help

Open an existing wallet from command line:

./wrkz-wallet \
  --wallet-file wallet.wallet \
  --password "wallet-pass" \
  --remote-daemon 127.0.0.1:11898 \
  --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)

Startup menu actions

When no wallet is preselected, common startup choices include:

  • open
  • create
  • seed_restore
  • key_restore
  • view_wallet
  • exit

Common interactive commands

General/help:

  • help
  • advanced
  • exit

Status and sync:

  • status
  • refresh
  • swap_node

Wallet info:

  • address
  • balance

Transactions:

  • transfer
  • send_all
  • incoming_transfers
  • outgoing_transfers
  • list_transfers
  • txs
  • txs_full
  • get_tx_private_key
  • check_tx <hash>
  • decode_integrated

Address and payment tools:

  • make_integrated_address

Address book:

  • ab_add
  • ab_delete
  • ab_list
  • ab_send

Security and maintenance:

  • backup
  • change_password
  • save
  • save_csv
  • optimize
  • reset
  • set_log_level

Example session flow

  1. Start:
./wrkz-wallet --remote-daemon 127.0.0.1:11898
  1. Create or open wallet in startup menu:

  2. create or open

  3. Check readiness:

  4. status

  5. balance
  6. address

  7. Send funds:

  8. transfer

  9. Confirm activity:

  10. txs

  11. incoming_transfers
  12. outgoing_transfers

  13. Save and exit:

  14. save

  15. exit