Search projects, hackathons, sponsors and tech

    ← All projects

    CanaryMiniApp

    A Next.js application demonstrating x402 payment protocol with Privy for pay-per-use AI code reviews

    Demo

    About

    - Pay-Per-Use Pricing: Only pay when you need a review (1 USDC per review) - Instant AI Reviews: Powered by Claude Sonnet 4.5 for expert-level code analysis - x402 Protocol: Automatic, gasless USDC payments via HTTP - Privy Authentication: Seamless wallet and email login with embedded wallets - No Subscriptions: True consumption-based pricing model

    How it's made

    The x402 payment protocol enables instant, automatic payments for APIs over HTTP: 1. Client Request: User submits code for review 2. 402 Response: Server returns HTTP 402 with payment terms 3. Payment Authorization: User signs USDC transfer via Privy embedded wallet (gasless) 4. Payment Submission: Facilitator verifies signature and submits transaction onchain 5. Content Delivery: Server receives payment proof and returns AI review Tech stack: Frontend: Next.js 15 (App Router), React 18, TypeScript, Tailwind CSS Authentication: Privy (embedded wallets, email/wallet login) Payments: x402 protocol with USDC on Base AI: Anthropic Claude API (Sonnet 4.5) Payment Facilitator: Pay AI Network