hackquest logo

PolyForge

No-code launchpad for self-custodial AI prediction-market agents — grant once with ERC-7715, run gasless via 1Shot, revoke anytime.

Videos

Tech Stack

Next
Solidity
Web3

Description

PolyForge turns an AI agent from a black-box bot into a first-class on-chain asset. You MINT an agent's brain as an AgentNFA (ERC-721 + on-chain DID), then grant it a scoped, expiring USDC budget with ONE MetaMask ERC-7715 Advanced Permission. From that single signature, the agent trades a Sepolia prediction market that mirrors live Polymarket prices — autonomously, with zero further popups. Core idea — Agent ≠ Mandate: the Agent (brain) is a reusable, ownable NFT (public/copyable or private/owner-gated, enforced on-chain); a Mandate is a user's guardrails (per-match cap, daily allowance, expiry) bound to an Agent by the grant. The agent never touches your keys. Gasless via the 1Shot permissionless relayer: it redeems the delegations and takes its fee in USDC, so the user holds 0 ETH — including the EIP-7702 EOA→smart-account upgrade through the relayer and Ed25519-verified webhooks (not polling). A2A coordination: copying a star agent is a real ERC-7710 redelegation — user → star agent → follower agent → relayer, each hop narrowing the caveats. Multiple agents run concurrently, each with its own budget, and because caveats are enforced on-chain, even a fully hijacked agent brain cannot move USDC past the limit the user signed. Decision brain on Venice AI (privacy-first, OpenAI-compatible). Live on Sepolia (verifiable): AgentNFA 0xB0Bf71Bd0AA1c73e649b0f482229d135B95107d0; MockPredictionMarket 0xF1EE83A565d4F4007028de3C5E29b01FfAD64476; proofs include a 2-hop redelegation + EIP-7702 + webhooks (tx 0x72a9…7b5a), a real MetaMask 7715 grant → gasless bet (tx 0x6684…7a23), and two concurrent agents placing opposite bets that both confirmed (tx 0x81df…f74c, 0xe4d3…f7ff).

Progress During Hackathon

PolyForge was built from scratch during the hackathon — a no-code launchpad for self-custodial AI prediction-market agents, integrating all three sponsor tracks end-to-end and proven on-chain (Sepolia):

  • MetaMask Smart Accounts Kit (ERC-7715 / 7710): one signature grants an agent a scoped, expiring USDC budget (erc20-token-periodic). "Copy a star agent" is a real ERC-7710 redelegation chain (user → star → follower → relayer), each hop narrowing the caveats — 3 hops, confirmed on-chain.

  • 1Shot permissionless relayer: fully gasless execution — user holds 0 ETH, fees in USDC; includes EIP-7702 EOA→smart-account upgrade and Ed25519-verified status webhooks.

  • Venice AI: the agent "brain" reads real Polymarket prices (Gamma API) and decides bets via Venice (privacy-first, OpenAI-compatible), with a deterministic fallback engine.

  • Agent ≠ Mandate model: the brain is an AgentNFA (ERC-721 + on-chain DID) you own — public/copyable or private/owner-gated, enforced on-chain; a mandate is your guardrails + execution bound by the 7715 grant.

  • Multi-agent concurrency: several agents run at once, each with its own budget; on-chain caveats bound even a hijacked agent (over-budget bundle reverts).

  • Shipped: no-code React Studio + live per-wallet telemetry console (SSE), real contracts on Sepolia (AgentNFA, MockPredictionMarket mirroring Polymarket), and a live deploy at https://polyforge.onrender.com.

On-chain proof: real 7715 grant → gasless bet · 2-hop+ redelegation + EIP-7702 + webhooks · two concurrent agents placing opposite bets — all confirmed on Sepolia.

Fundraising Status

Not raising

Team Leader
HHorst Stark
Project Link
Deploy Ecosystem
Ethereum SepoliaEthereum Sepolia
Sector
AIDeFiInfra