Skip to main content

Overview

A Wallet represents a financial account where you track money. This could be:
  • Cash in your pocket
  • Bank checking account
  • Savings account
  • Credit card (with negative balance)
  • Investment account

Wallet Properties

Creating a Wallet

Using the Cache Manager

Direct Repository Access

Querying Wallets

Get All Wallets

Find by ID

Get Pending Sync

Updating Wallets

When you save an existing wallet, its syncStatus automatically changes to pendingUpdate (if it was synced).

Deleting Wallets

Soft Delete (Default)

Soft delete marks the wallet as deleted but keeps it locally until sync completes:
The wallet will:
  1. Be marked with isDeleted = true
  2. Get syncStatus = pendingDelete
  3. Not appear in findAll() results
  4. Sync to server
  5. Be hard-deleted after successful sync

Hard Delete

Hard delete removes the wallet immediately (use with caution):
Hard-deleted wallets cannot be recovered and will not sync to the server.

Currency Support

Zeus uses ISO 4217 currency codes. Common codes:

Best Practices

  1. Use descriptive names - “Chase Checking” is better than “Bank”
  2. Set initial balance - Track your starting point
  3. One wallet per account - Don’t mix different accounts
  4. Regular reconciliation - Compare with bank statements