
PayR
AI-powered invoices with verifiable USDC payments and automatic receipts on Arc.
Demo
About
Payr helps independent developers turn confirmed work into an invoice, collect payment, and finish the billing workflow without manually reconciling wallet transfers. An AI agent creates a reviewable invoice draft from saved business and client details, while the freelancer retains explicit control over publication. The client opens a private payment link, reviews the frozen invoice, and pays the exact USDC amount from their own wallet on Arc. Payr verifies the settlement onchain, marks the correct invoice as paid, and creates an immutable receipt linked to the transaction.
How it's made
Payr is a Next.js and React application built with TypeScript. We use an MCP server and REST API so AI agents can create invoice drafts, retrieve invoice status, and work from confirmed sender and client profiles without inventing missing billing facts. Privy provides authentication and user-owned wallet onboarding. Supabase stores invoice versions, publication attempts, settlement records, and delivery jobs. Invoice and receipt PDFs are generated with React PDF, stored privately, and served through scoped access links. Payments use native USDC on Arc through a Solidity settlement contract, with viem and wagmi handling chain and wallet interactions. After payment, Payr independently verifies the contract event, reconciles it once, and produces a receipt tied to the immutable invoice and transaction.