CPay turns paying someone into as simple an action as looking at them. Instead of fumbling with your phone, opening wallet apps, and scanning QR codes, you just wear smart glasses, look at the person you want to pay, and say "pay 5 USDC". Decentralized AI understands your voice command, while zero-knowledge privacy ensures that neither your wallet address nor your transaction history is ever exposed to the person you are paying. It is fast, hands-free, and truly private.
CPay bridges custom wearable hardware, decentralized AI, and dual-sided zero-knowledge cryptography into a seamless payment pipeline:
- Hardware & Edge Interface:
• Custom smart-glasses prototype built using an ESP32-CAM board and OLED micro-display running custom firmware. It captures low-latency video frames and streams them to a companion Next.js PWA via an HMAC-
authenticated WebSocket bridge.
• The user looks at a payment recipient or QR code and speaks a natural prompt (e.g. "pay 5 USDC").
- Decentralized AI & Voice (0G Network):
• Voice audio is streamed to 0G Serving, which processes speech-to-text and extracts structured payment intents inside a confidential TEE environment.
• 0G Text-to-Speech (TTS) synthesizes voice confirmations, giving the user hands-free audio feedback.
• All AI interactions log verifiable cryptographic receipts and request IDs to create a tamper-proof audit trail.
- Identity & Guardrails (World ID & Agent Pass):
• Users authenticate with World ID for Sybil resistance.
• To prevent an autonomous voice loop from rogue spending, we implemented Agent Pass: biometric passkeys derive Ed25519-signed approval tokens that strictly enforce daily spend caps and single-transaction
limits before any transaction can be assembled.
- Dual-Sided On-Chain Privacy (Railgun + ERC-5564 Stealth Addresses):
• Payer Privacy via Railgun: The user holds funds in Railgun’s canonical pool on Ethereum Sepolia. Using @railgun-community/wallet and SnarkJS, the browser generates Groth16 zk-SNARK unshield proofs
locally on the user's device. The private seed/mnemonic never leaves the phone.
• Recipient Privacy via Stealth Addresses: Funds unshield into a fresh, ephemeral ERC-5564 stealth address derived via ECDH. Observers on-chain see no link between the payer's deposit and the recipient's
identity.
• Broadcaster Relayer: The pre-proved transaction payload is dispatched to a server-side Broadcaster that sponsors the Sepolia gas, ensuring the payer's personal EOA address never touches the mempool.