Human-bound wallet authorization using Apple Watch biometrics on Flare
Soma is a biometric wallet authorization system that binds crypto transactions to your unique biological identity. Using an iPhone + Apple Watch, it collects heart rate variability (HRV) data to derive a privacy-preserving biological signature (BioPattern) on-device. This signature is stored as a reference during enrollment and verified through a concordance check before every transaction — ensuring only the enrolled human can authorize wallet actions. The app features embedded wallet creation via Dynamic SDK on Flare Coston2, a slide-to-send UX with real-time bio-verification, QR code scanning for recipient addresses, and ENS-based human-readable identity. No biometric data ever leaves the device raw — only derived feature vectors are compared server-side.
The iOS app is built in SwiftUI using the Dynamic Swift SDK for embedded wallet creation and transaction signing on Flare Coston2. Apple Watch collects real-time heart rate and HRV data via HealthKit and streams it to the phone through WatchConnectivity. On-device, a BioPatternService derives a feature vector (mean/std HR, RMSSD, respiratory sinus arrhythmia, circadian phase, nonlinear dynamics) from the raw cardiac data — this is the "biological fingerprint." The FastAPI Python backend stores enrolled reference patterns and runs z-scored distance matching for concordance checks before transactions are authorized. Dynamic SDK handles wallet creation, key management, and transaction signing with their MPC embedded wallets — we disabled the default confirmation UI since our bio-verification replaces it. The UX includes a custom slide-to-send gesture, circular balance display, and a camera-based QR scanner for wallet addresses, all following a cohesive oxblood/almond color scheme. ENS integration provides human-readable wallet identity.

