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.

視頻

專案圖片 1
專案圖片 2
專案圖片 3
專案圖片 4

技術堆疊

React
Next
Web3
Solidity

描述

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

黑客松進展

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.

籌資狀態

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

團隊負責人
SStarry Desert
專案連結
部署生態系
BaseBase
行業
AIInfra