hackquest logo

DelegaPay

DelegaPay gives AI agents a bounded USDC budget using MetaMask EIP-7715, simulated x402 risk gates, and 1Shot relayer execution, ensuring AI transacts safely without private keys.

Videos

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

Pila tecnológica

React
Next
Web3
Solidity

Descripción

The Problem Approving every micro-transaction manually stifles AI automation, but granting an AI direct access to a treasury or private key is a massive security risk. Developers need a way to empower AI with financial agency without surrendering custody.

The Solution: DelegaPay DelegaPay is a safe, delegated payment control plane for AI agents. Our core philosophy is simple: "Give AI agents a wallet, not your treasury". The system operates on a strict boundary model where the AI can propose payment missions, but the human user authorizes a bounded spending limit.

Core Operating Model: "AI proposes; wallet authorizes; relayer executes."

Technical Architecture & Safety Sequence Every valuable action must pass through a transparent, bounded sequence:

  • AI Planning Generation: Users input a task and a budget. The system utilizes a provider-agnostic AI planner (supporting DeepSeek, Venice, OpenAI-compatible APIs, or local mocks) to generate a structured, validated mission plan.

  • Wallet Custody (MetaMask & EIP-7715): User custody stays securely within the wallet. The application uses MetaMask Advanced Permissions to grant a scoped allowance (cap) rather than immediately spending funds.

  • Risk Gate (x402): Before any execution, the mission passes through a simulated x402 challenge-signature handshake to evaluate premium risk scores.

  • Dry-Run & Relayer Execution (1Shot): The 1Shot relayer provides a dry-run estimate. Only after all checks pass is the transaction broadcasted as a real, delegated USDC transfer on Base Sepolia, abstracting gas fees in the process.

  • Flight Recorder Auditability: Every transition—from planning to the final BaseScan public proof—is logged in a transparent Mission Timeline.

Hackathon Journey & Social Media Presence Check out our development journey, UX insights on integrating MetaMask Advanced Permissions, and our full video demo in our X (Twitter) thread here: 👉 https://x.com/StarryDeserts/status/2065388811597799525

Sponsor Feedback for the Cook-Off: While building DelegaPay, I extensively integrated MetaMask Advanced Permissions, the 1Shot API, and Venice AI. I have documented specific developer friction points (e.g., EIP-7702 upgrade quirks, API type inconsistencies) and provided actionable DX suggestions for each sponsor team.

📄 Please read the full technical feedback here: https://github.com/StarryDeserts/DelegapayAgent/blob/main/docs/submission/sponsor-feedback.md

Progreso del hackathon

As a solo developer leveraging past experience with EVM agent payment architectures, my goal for this Cook Off was to weave the three sponsor APIs into a seamless, production-like user experience.

Current Milestones Achieved:

  • AI Integration: Successfully built a modular AI planner supporting multiple endpoints (deepseek, venice, openai-compatible) alongside a deterministic mock planner for offline testing.

  • EIP-7715 Authorization: Completed the MetaMask advanced permissions flow, enabling users to grant scoped allowances safely without exposing their private keys.

  • Execution Rails: The 1Shot relayer integration is live, successfully handling dry-run estimates and executing real USDC transfers on Base Sepolia.

  • Testing Infrastructure: Developed comprehensive headless testing harnesses using Playwright to run regression tests on the premium risk gates and relayer routes without risking live funds.

Estado de recaudación de fondos

I am an independent solo developer. DelegaPay is entirely bootstrapped, and the project currently has no external funding, grants, or venture capital backing.

Líder del equipo
SStarry Desert
Enlace del proyecto
Desplegar ecosistema
BaseBase
Sector
AIInfra