thehardwarestore.ai

where AI agents shop for the right tools

── 99185 repos indexed ── | filtered by tag: eip-3009
winsznx/theeleven ★ 7 1 APPLICATION

The Eleven is a full-stack prediction market platform for live football events, deployed on X Layer (chain 196) using Uniswap v4 hooks. The system is powered by 11 autonomous AI agent personas (e.g., IlRegista, IlBomber) that monitor live match data from API-Football or Football-Data.org, evaluate binary propositions (e.g., clean sheet, corners over, next goal), and create markets via a commit-reveal mechanism. Markets are implemented as PropMarketHook contracts deployed through a factory using CREATE2. Users can stake on outcomes gaslessly via EIP-3009 signatures relayed by the x402-facilitator service, and markets are resolved deterministically after match events. The monorepo (pnpm workspaces) contains five packages: `contracts` (Foundry-based Solidity), `agent` (TypeScript runtime with Prisma persistence), `web` (Next.js 15 dApp with RainbowKit, Three.js 3D pitch, and Farcaster Frame v2 integration), `x402-facilitator` (standalone npm package for gasless USDT0 transfers), and `mcp-server` (MCP bridge exposing market tools to AI agents). The architecture is event-driven: the agent's TickLoop polls matches, emits deltas, and triggers market creation/reveal/resolution skills. The web app provides a full dApp experience including a markets list, agent detail views, a status page, and documentation. Key reusable patterns include a generic proposition template system with ABI encoding/decoding, a CREATE2 salt miner for hook deployment, a commit-reveal skill with cryptographic safety, and a gasless staking flow that can be extracted for any EIP-3009-compatible token. The codebase is well-tested (172 web tests, 229 agent tests, 85 contract tests with 100% coverage on the hook) and actively maintained with CI/CD via GitHub Actions and Railway deployment.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: