Skip to main content

Architecture

Myrad is built on a modern, production-grade stack optimized for security, scalability, and privacy-first design.


Technology Stack

LayerTechnologyRationale
FrontendReact 18 + TypeScriptType-safe, performant, production-ready
StylingVanilla CSS + TailwindMaximum design flexibility
AuthenticationPrivy AuthSeamless email, social, and wallet support
VerificationReclaim ProtocolCryptographic verification without exposure
BackendExpress.jsLightweight, scalable API layer
DatabasePostgreSQLReliable, queryable analytics storage

System Components

Frontend Layer

  • React 18: Latest concurrent rendering for smooth user experiences
  • TypeScript: Full type safety across the application
  • Privy Integration: Frictionless onboarding without complex wallet setup

Verification Layer

  • Reclaim Protocol: Cryptographic verification of app activity
  • TLS-Based Proofs: Attestation from source APIs
  • On-Device Processing: User data never leaves the device

Backend Layer

  • Express.js API: RESTful endpoints with rate limiting and validation
  • PostgreSQL Database: Secure storage for aggregated signals
  • Pipeline Architecture: Dedicated processing pipelines for each data provider

Data Flow

Myrad Data Flow


Privacy Architecture

Myrad enforces privacy at the system level:

ConstraintImplementation
No raw data retentionPersonal data never stored
No personal identifiersPII excluded from all outputs
Cohort aggregationSignals represent group behavior
Minimum k-anonymityThresholds enforced automatically

Security Implementation

LayerImplementation
TransportTLS 1.3 for all connections
AuthenticationPrivy-managed sessions with JWT tokens
Data StorageEncrypted PostgreSQL connections
API SecurityRate limiting, input validation, CORS policies
Proof VerificationReclaim Protocol attestation validation

Compliance

Myrad is designed for GDPR and CCPA compatibility:

  • Privacy by design architecture
  • No personal data collection or retention
  • Clear consent mechanisms
  • User opt-out at any time
  • Auditable data pipelines