hackquest logo

PromptPay

Pay-per-prompt AI marketplace: connect your wallet, grant one spend permission, then pay only for the prompts you send via automatic on-chain micro-payments.

Videos

Imagen del proyecto 1
Imagen del proyecto 2
Imagen del proyecto 3

Pila tecnológica

Venice AI
X402
ERC-7715
1Shot Relayer
MetaMask SDK
Wagmi
Next

Descripción

PromptPay is a pay-per-prompt AI marketplace that replaces subscriptions and API keys with a single wallet connection.

Users grant a one-time ERC-7715 spend permission, then send prompts that are paid for automatically via x402 on-chain micro-payments settling fractions of a cent per request in the background, with no transaction to sign each time.

Prompts run on Venice AI for privacy-first inference, and payments are relayed gaslessly through the 1Shot permissionless relayer on Base. The result is a frictionless, usage-based way to access AI: pay only for what you actually use, no commitments, no key management, no recurring fees.

Progreso del hackathon

We designed and built PromptPay end-to-end during the hackathon, going from concept to a working pay-per-prompt AI marketplace.

  • Architecture & planning: Mapped the full system: wallet, ERC-7715 spend permission, x402 micro-payment , Venice AI inference, with the 1Shot relayer handling gasless settlement on Base Sepolia.

  • Frontend: Built the Next.js 14 app: landing page, prompt interface, wallet connect, a permission gate for granting the one-time spend allowance, result panel, and transaction history.

  • Payments; Implemented the x402 client/server flow so a protected API returns 402 Payment Required, the client auto-settles the micro-payment, and the prompt proceeds, no per-prompt signing.

  • Permissions: Integrated ERC-7715 spend permissions via wagmi + MetaMask SDK so users grant a budget once.

  • AI integration: Wired up the Venice AI API for privacy-first, OpenAI-compatible inference behind the paid endpoint.

  • Relayer: Connected the 1Shot permissionless relayer (EIP-7710) for gasless, USDC-paid transactions.

By the end we had a functional flow: connect wallet, grant permission once, prompt and auto-pay per request.

Estado de recaudación de fondos

None

Líder del equipo
AAkanimoh Johnson
Enlace del proyecto
Desplegar ecosistema
BaseBase
Sector
AIInfraOther