How enliven17/gizu-app works
Gizu is a passkey-powered mobile investment wallet, with a separate mock-backed browser app, public marketing site, and API. The principal mobile journey is passkey access to a protected wallet, portfolio and token discovery, then native review and signing of an eligible swap; native state and provider observations support recovery. The README documents vault/Earn and transfer capabilities too. Source excerpts show native swap orchestration and encrypted storage, plus backend registration and Earn previews; unsampled feature wiring is represented only where documented, with evidence limits reflected in dashed links.
Main entry points: AppRoot.tsx Mobile experience · engine.rs Swap state machine · swap.routes.ts Swap and token routes · app.ts Backend API
Components 21
Mobile wallet
- Mobile experience
mobile/src/application/AppRoot.tsx - Passkey access
mobile/src/features/access/useAccessController.ts - Encrypted wallet
mobile/modules/gizu-stored-signer/ios/Storage/WalletStorage.swift - Portfolio views
mobile/src/features/wallet/useWalletController.ts - Token discovery
mobile/src/domain/earn/catalog.ts - Swap intent
mobile/src/features/swap/useNativeSwap.ts - Swap state machine
mobile/modules/gizu-stored-signer/core/src/swap/engine.rs - Native approval
mobile/modules/gizu-stored-signer/ios/Swap/SwapEngine.swift - Vault and Earn
mobile/modules/gizu-stored-signer/ios/Earn/EarnVaultEngine.swift - Transfer operations
mobile/modules/gizu-stored-signer/ios/Transfers/TransferEngine.swift
Backend services
- Backend API
backend/src/app.ts - Swap and token routes
backend/src/http/routes/swap.routes.ts - Earn planning and previews
backend/src/http/routes/earn-preview.routes.ts - Confidential routing
backend/src/adapters/aurora/aurora-intents.ts - Fusion orders
backend/src/adapters/oneinch/fusion.ts - Funding preparation
backend/src/adapters/pimlico/monad-funding.ts
Web surfaces
- Browser application
frontend/src/App.tsx - Marketing site
landing/src/App.tsx
External providers
- Chain RPCs
- Aurora and 1inch
Other components
- Wallet user
Connections 24
- Wallet user → Mobile experience: uses
README.md - Mobile experience → Passkey access: requests access
- Passkey access → Encrypted wallet: unlocks wallet
- Encrypted wallet → Mobile experience: supplies wallet state
- Mobile experience → Portfolio views: views holdings
README.md - Mobile experience → Token discovery: browses tokens
README.md - Token discovery → Swap intent: starts eligible swap
README.md - Swap intent → Native approval: requests review
README.md - Native approval → Swap state machine: advances operation
mobile/modules/gizu-stored-signer/ios/Swap/SwapEngine.swift - Swap state machine → Encrypted wallet: persists state
README.md - Swap state machine → Backend API: requests preparation
mobile/modules/gizu-stored-signer/core/src/swap/engine.rs - Backend API → Swap and token routes: registers routes
backend/src/app.ts - Backend API → Earn planning and previews: registers previews
backend/src/app.ts - Swap and token routes → Confidential routing: quotes routes
backend/src/http/routes/swap.routes.ts - Swap and token routes → Fusion orders: prepares orders
backend/src/http/routes/swap.routes.ts - Swap and token routes → Funding preparation: prepares funding
backend/src/http/routes/swap.routes.ts - Confidential routing → Aurora and 1inch: calls routing service
- Fusion orders → Aurora and 1inch: requests orders
- Swap state machine → Chain RPCs: checks chain state
README.md - Mobile experience → Vault and Earn: opens vault journeys
README.md - Mobile experience → Transfer operations: starts transfers
README.md - Wallet user → Browser application: uses web app
README.md - Browser application → Backend API: loads token discovery
README.md - Wallet user → Marketing site: visits website
README.md