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

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

<p><strong>PolyForge was built from scratch during the hackathon</strong> — a no-code launchpad for self-custodial AI prediction-market agents, integrating all three sponsor tracks end-to-end and proven on-chain (Sepolia):</p><ul><li><p><strong>MetaMask Smart Accounts Kit (ERC-7715 / 7710):</strong> one signature grants an agent a scoped, expiring USDC budget (<code data-inline="true" spellcheck="false">erc20-token-periodic</code>). "Copy a star agent" is a real <strong>ERC-7710 redelegation</strong> chain (user → star → follower → relayer), each hop narrowing the caveats — 3 hops, confirmed on-chain.</p></li><li><p><strong>1Shot permissionless relayer:</strong> fully <strong>gasless</strong> execution — user holds 0 ETH, fees in USDC; includes EIP-7702 EOA→smart-account upgrade and Ed25519-verified status webhooks.</p></li><li><p><strong>Venice AI:</strong> the agent "brain" reads real Polymarket prices (Gamma API) and decides bets via Venice (privacy-first, OpenAI-compatible), with a deterministic fallback engine.</p></li><li><p><strong>Agent ≠ Mandate model:</strong> the brain is an <strong>AgentNFA</strong> (ERC-721 + on-chain DID) you own — public/copyable or private/owner-gated, enforced on-chain; a <em>mandate</em> is your guardrails + execution bound by the 7715 grant.</p></li><li><p><strong>Multi-agent concurrency:</strong> several agents run at once, each with its own budget; on-chain caveats bound even a hijacked agent (over-budget bundle reverts).</p></li><li><p><strong>Shipped:</strong> no-code React Studio + live per-wallet telemetry console (SSE), real contracts on Sepolia (AgentNFA, MockPredictionMarket mirroring Polymarket), and a <strong>live deploy</strong> at <a href="https://polyforge.onrender.com">https://polyforge.onrender.com</a>.</p></li></ul><p><strong>On-chain proof:</strong> real 7715 grant → gasless bet · 2-hop+ redelegation + EIP-7702 + webhooks · two concurrent agents placing opposite bets — all confirmed on Sepolia.</p>

Tech Stack

Next
Solidity
Web3

Fundraising Status

<p><strong>Not raising</strong></p>

Team LeaderHHorst Stark
Sector
AIDeFiInfra
Ecosystem

Builders Also Viewed