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 + TypeScript + ViteType-safe, fast, production-ready
Styling & MotionTailwind CSS + Framer MotionFlexible design system with fluid animation
AuthenticationPrivySeamless email, social, and wallet sign-in
VerificationReclaim ProtocolZero-knowledge verification without exposure
BackendExpress + PostgreSQLLightweight, scalable API and analytics storage
On-ChainSolidity + OpenZeppelin, on BaseAudited contract standards for the rewards layer

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 API: RESTful endpoints with rate limiting and validation
  • PostgreSQL: Secure storage for aggregated signals
  • Pipeline Architecture: Dedicated processing pipelines for each data provider

On-Chain Layer​

  • Base: The MYRAD token and rewards layer settle on Base
  • Audited Standards: Contracts build on OpenZeppelin's battle-tested libraries
  • Public Verifiability: Verified contributions can be anchored on-chain. See Token & Staking

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 sign-in and sessions
Data StorageEncrypted database 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