gitwtfhub

wtf is theeleven?

winsznx/theeleven — explained in plain English

Analysis updated 2026-05-18

8TypeScriptAudience · developerComplexity · 5/5Setup · hard

TL;DR

Eleven AI characters watch a live football match and open small on chain prediction markets tied to what happens in the game.

Mindmap

mindmap
  root((The Eleven))
    What it does
      Eleven AI football personas
      Live prediction markets
      Gasless staking
    Tech stack
      TypeScript
      Solidity
      Uniswap v4 hook
    Use cases
      Study AI agents reacting live
      Learn custom Uniswap hooks
      See gasless staking pattern
    Audience
      Web3 developers
      Hackathon judges
    Status
      Hackathon submission
      Proof of concept

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Study a working example of an AI agent that reacts to live sports data and takes on chain actions.

REASON 2

Learn how a custom Uniswap v4 hook can power a prediction market instead of a normal trading pool.

REASON 3

See a real example of gasless staking using a signature based authorization instead of a wallet transaction.

What's in the stack?

TypeScriptSolidityUniswap v4X LayerUSDT0

How it stacks up

winsznx/theelevenabdulkader-safi/obsidian-image-magick-pluginsacartag7/mcp-sso
Stars888
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardeasymoderate
Complexity5/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1day+

Requires blockchain wallet setup, a sports data API key, and deployment to X Layer to run fully.

Wtf does this do

The Eleven is an experimental project built for a blockchain hackathon on X Layer, a network built by OKX. It creates eleven independent AI characters, each modeled loosely on a football position (a playmaker, a striker, a goalkeeper, and so on), that watch a live football match and open small betting style markets based on what is happening in the game, such as who will score next or how many corners a team will get. Each character runs on its own schedule and reacts to real match events like possession changes, shots, and fouls, which it receives from a live sports data provider. When a character decides the moment is right, it opens a market on chain, waits for people to stake money on an outcome, and later reveals the result so the market can be resolved and winners paid out. Money moves through a stablecoin called USDT0, and users can stake without paying a separate gas fee because the project uses a signature based authorization method instead of a normal blockchain transaction. Underneath, the project is built as a custom extension, called a hook, for Uniswap v4, a decentralized exchange protocol. This hook controls how the markets are created and settled directly within that exchange infrastructure, rather than using a separate betting system. The project includes a live website where people can watch the eleven AI agents, view open markets, and check a status page confirming the system is running. The agent code and the smart contracts both live in this repository, written mostly in TypeScript with Solidity for the on chain contracts. The README notes the project passes its full test suite for both the agents and the smart contract logic. This is a hackathon submission built around the 2026 football tournament season, so it is best understood as a proof of concept rather than a finished product for general use.

Yoink these prompts

Prompt 1
Explain how the PropMarketHook contract in this repo creates and resolves a prediction market.
Prompt 2
Walk me through how the eleven AI personas decide when to open a new market during a match.
Prompt 3
Show me how gasless staking with EIP-3009 works in this codebase.
Prompt 4
Help me set up the agent runtime locally to simulate one persona reacting to match events.

Frequently asked questions

wtf is theeleven?

Eleven AI characters watch a live football match and open small on chain prediction markets tied to what happens in the game.

What language is theeleven written in?

Mainly TypeScript. The stack also includes TypeScript, Solidity, Uniswap v4.

How hard is theeleven to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is theeleven for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.