Skip to main content

Architecture

MYRAD is built on a modern, production-grade stack optimized for security, scalability, and developer experience.


Technology Stack

LayerTechnologyRationale
FrontendReact 18 + TypeScriptType-safe, performant, production-ready
StylingVanilla CSS + TailwindMaximum design flexibility
AuthenticationPrivy AuthSeamless email, social, and wallet support
VerificationReclaim ProtocolIndustry-leading zero-knowledge proofs
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: Zero-knowledge verification of app activity
  • TLS-Based Proofs: Cryptographic 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 analytics and user records
  • Pipeline Architecture: Dedicated processing pipelines for each data provider

Data Flow

MYRAD Data Flow


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