1. Architecture Overview
Request path (simplified): User browser → TLS → Vercel edge / Next.js application → API routes → Supabase (PostgreSQL) + Privy (auth / payments) + Solana RPC → on-chain programs.
Design principle: Money movement is enforced on-chain by the escrow program; the backend coordinates metadata, verification, and signing workflows. This separation reduces reliance on opaque custodial ledgers while introducing blockchain-specific risks (see Terms).