How chainapsis/vizor-wallet works
Vizor is a self-custody Zcash wallet: users create or import a wallet, synchronize it, manage addresses and balances, then receive, shield, or send ZEC. The available tree is weighted toward Rust wallet logic and native platform integrations; the Flutter UI and several Rust API implementations are not present in the supplied tree, so the graph represents those capabilities at the nearest supported source boundary. It also includes the documented voting capability and the substantial iOS migration-outbox subsystem. Dashed edges indicate relationships not established by the supplied excerpts or source references.
Main entry points: BackgroundMigrationManager.swift Migration manager · BackgroundMigrationPreparationManager.swift Migration preparation · BackgroundMigrationOutboxRunner.swift Outbox runner · BackgroundMigrationOutboxChannel.swift Outbox channel
Components 23
Wallet operations
- Wallet API
rust/src/api/wallet.rs - Keys and accounts
rust/src/wallet/keys.rs - Addresses
rust/src/wallet/addresses.rs - Wallet database
rust/src/wallet/db.rs - Transactions
rust/src/wallet/sync/transactions.rs - Transparent cache
rust/src/wallet/transparent_receive_cache.rs - Keystone accounts
rust/src/wallet/keystone.rs
Sync and privacy
- Wallet sync
rust/src/api/sync.rs - Sync engine
rust/src/wallet/sync_engine/mod.rs - Network privacy
rust/src/network_privacy.rs
Voting
- Voting API
rust/src/api/voting.rs - Voting sessions
rust/src/api/voting_session.rs - Voting transports
rust/src/wallet/voting/network_clients.rs
Native integrations
- Ledger integration
rust/src/wallet/ledger/mod.rs - iOS Ledger handler
ios/Runner/LedgerMobileHandler.swift - Native lightwalletd
ios/Runner/NativeLightwalletdClient.swift
Background migration
- Migration manager
ios/Runner/BackgroundMigrationManager.swift - Migration preparation
ios/Runner/BackgroundMigrationPreparationManager.swift - Outbox runner
ios/Runner/BackgroundMigrationOutboxRunner.swift - Outbox store
ios/Runner/BackgroundMigrationOutboxStore.swift - Execution gate
ios/Runner/BackgroundMigrationOutboxExecutionGate.swift - Outbox channel
ios/Runner/BackgroundMigrationOutboxChannel.swift
Other components
- Wallet user
Connections 24
- Wallet user → Wallet API: creates and manages
- Wallet user → Wallet sync: checks sync
- Wallet user → Keystone accounts: imports accounts
- Wallet user → Transactions: sends and shields
- Wallet API → Keys and accounts: uses keys
- Wallet sync → Sync engine: runs sync
- Transactions → Wallet database: persists transactions
- Addresses → Wallet database: stores addresses
- Voting API → Voting transports: constructs transports
rust/src/api/voting.rs - Voting API → Network privacy: uses routing policy
rust/src/api/voting.rs - Voting sessions → Voting API: uses voting API
rust/src/api/voting_session.rs - Voting transports → Network privacy: routes traffic
rust/src/wallet/voting/network_clients.rs - Migration manager → Migration preparation: coordinates preparation
ios/Runner/BackgroundMigrationManager.swift - Migration manager → Outbox store: reads and writes
ios/Runner/BackgroundMigrationManager.swift - Migration manager → Execution gate: controls execution
ios/Runner/BackgroundMigrationManager.swift - Migration manager → Outbox channel: exposes outbox channel
ios/Runner/BackgroundMigrationManager.swift - Migration preparation → Migration manager: coordinates migration
ios/Runner/BackgroundMigrationPreparationManager.swift - Migration preparation → Execution gate: checks execution gate
ios/Runner/BackgroundMigrationPreparationManager.swift - Migration preparation → Native lightwalletd: uses client
ios/Runner/BackgroundMigrationPreparationManager.swift - Outbox runner → Native lightwalletd: submits transactions
ios/Runner/BackgroundMigrationOutboxRunner.swift - Outbox runner → Outbox store: loads and saves
ios/Runner/BackgroundMigrationOutboxRunner.swift - Outbox runner → Execution gate: acquires run gate
ios/Runner/BackgroundMigrationOutboxRunner.swift - Outbox channel → Outbox store: accesses outbox
ios/Runner/BackgroundMigrationOutboxChannel.swift - Outbox channel → Outbox runner: dispatches work
ios/Runner/BackgroundMigrationOutboxChannel.swift