malaqa is an offline-first, privacy-first mobile protocol for verifiable human encounters.
- Magic Mirror Auth (camera-first, zero-click owner recognition)
- Duo meeting capture (owner + guest detection in one frame)
- Liveness guard (smile/blink challenge to reduce spoofing)
- Cryptographic proof chain (signed
MeetingProoflinks) - Local persistence with integrity checks (Isar + proof hash validation)
- Journey timeline + world map visualization
- Profile stats + badge gamification
- QR fallback bridge for manual proof transfer
- Nearby P2P mesh flow for automatic proximity claim
- IPFS bridge (local CID computation + sync orchestration)
- Blockchain anchor layer (offline Ethereum tx signing, simulation mode)
- First-run onboarding + settings vault (nearby visibility, reset, backup reveal)
lib/core/: crypto primitives, identity, DI, settings primitiveslib/domain/: entities, repositories, services, protocol ruleslib/data/: hardware/storage/network adapterslib/presentation/: app shell, pages, cubits, UX flowstest/: unit + integration verification suite
- Flutter / Dart
- Camera + ML Kit + TensorFlow Lite
- Isar (
isar,isar_flutter_libs) - Secure storage (
flutter_secure_storage) - Maps (
flutter_map,latlong2, OpenStreetMap tiles) - P2P (
nearby_connections, QR fallback viaqr_flutter+mobile_scanner) - Crypto (
cryptography, Ed25519/SHA-256) - Web3 (
web3dart,bip39) - Sync bridge (
http,cid)
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter test
flutter run- Recommended device testing on physical Android/iOS hardware.
- Android config currently requires
minSdkVersion 23. - Model expected at
assets/models/mobilefacenet.tflite. - Main planning and status:
MALAQA.md. - Session protocol and execution rules:
AGENTS.md.