Skip to main content

Schema Design

The database is designed to handle multi-currency transactions with precision. All monetary values are stored as NUMERIC to avoid floating-point errors.

Wallets Table


Row Level Security (RLS)

Security is not just in the app; it’s in the database. Every query is filtered by the user’s UUID.

Security Layers

  1. Identity: Supabase Auth (Email/Google).
  2. Access: Database RLS Policies.
  3. Local: Biometric Lock (FaceID/Fingerprint) + Session PIN.
  4. Transport: TLS 1.3 encryption for all API calls.