Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.generalmarket.io/llms.txt

Use this file to discover all available pages before exploring further.

   ____                           _   __  __            _        _
  / ___| ___ _ __   ___ _ __ __ _| | |  \/  | __ _ _ __| | _____| |_
 | |  _ / _ \ '_ \ / _ \ '__/ _` | | | |\/| |/ _` | '__| |/ / _ \ __|
 | |_| |  __/ | | |  __/ | | (_| | | | |  | | (_| | |  |   <  __/ |_
  \____|\___|_| |_|\___|_|  \__,_|_| |_|  |_|\__,_|_|  |_|\_\___|\__|

  On-chain ETFs  ·  Prediction Markets  ·  DeFi Lending
  ────────────────────────────────────────────────────────
  90+ data sources  ·  BLS consensus  ·  Real execution

General Market

You will lose money here. Everyone does, everywhere. The difference is that here, the math is visible. General Market is a protocol for index products, prediction markets, and DeFi lending — running on a custom Arbitrum Orbit L3 with sub-second finality and near-zero gas. It is 8 services, 29 smart contracts, 2 EVM chains, 90+ real-world data sources, and a bot framework. One does not build all this because it is wise. One builds it because the alternative — trusting someone else’s spreadsheet — is worse.
 ┌─────────────────────────────────────────────────────────────────────────────┐
 │                                                                             │
 │                    THE  THREE  PILLARS                                      │
 │                                                                             │
 │    ┌───────────────────┐  ┌───────────────────┐  ┌───────────────────┐     │
 │    │                   │  │                   │  │                   │     │
 │    │   I N D E X       │  │  V I S I O N      │  │  L E N D I N G   │     │
 │    │                   │  │                   │  │                   │     │
 │    │  On-chain ETFs    │  │  Prediction       │  │  Morpho-powered  │     │
 │    │  (ITPs)           │  │  markets across   │  │  lending         │     │
 │    │                   │  │  90+ real-world   │  │                   │     │
 │    │  ┌─────────────┐  │  │  data sources     │  │  ┌─────────────┐ │     │
 │    │  │ BTC   12.5% │  │  │                   │  │  │ Supply USDC │ │     │
 │    │  │ ETH   10.0% │  │  │  ┌─────────────┐  │  │  │ to earn     │ │     │
 │    │  │ SOL    8.0% │  │  │  │ Will the    │  │  │  │ yield       │ │     │
 │    │  │ ...   69.5% │  │  │  │ Paris Metro │  │  │  │             │ │     │
 │    │  │ ═══════════ │  │  │  │ be late     │  │  │  │ Borrow USDC │ │     │
 │    │  │ NAV: $1.34  │  │  │  │ today?      │  │  │  │ against ITP │ │     │
 │    │  └─────────────┘  │  │  └─────────────┘  │  │  │ collateral  │ │     │
 │    │                   │  │                   │  │  └─────────────┘ │     │
 │    │  Up to 100 assets │  │  Sealed bets,     │  │                   │     │
 │    │  per basket.      │  │  parimutuel       │  │  ITP shares as   │     │
 │    │  Real exchange    │  │  payouts,          │  │  collateral on   │     │
 │    │  execution via    │  │  BLS-verified     │  │  Arbitrum.        │     │
 │    │  Bitget + BLS     │  │  resolution.      │  │  On-chain NAV    │     │
 │    │  consensus.       │  │                   │  │  oracle pricing. │     │
 │    │                   │  │                   │  │                   │     │
 │    └───────────────────┘  └───────────────────┘  └───────────────────┘     │
 │                                                                             │
 └─────────────────────────────────────────────────────────────────────────────┘

The Three Pillars

Index (DTFs)

Baskets of up to 100 crypto assets. Each Dex Traded Fund (DTF) is an ERC-4626 vault priced by a NAV formula that hides nothing. Orders pass through BLS consensus and execute on real exchanges. No AMM. No slippage. No illusions about liquidity.

Vision

Prediction markets on 90+ real-world data sources. Transport delays, power outages, weather, GitHub commits, energy prices. You bet on whether the Paris Metro will be late. It usually is. Sealed bets, parimutuel payouts, BLS-verified resolution.

Lending

Morpho-powered lending on Arbitrum. Deposit USDC to earn yield from borrowers who believe their collateral will hold. Use DTF shares to borrow USDC against positions you cannot bring yourself to sell.

What Happens Here

  YOU                          GENERAL MARKET                         REAL WORLD
  ═══                          ══════════════                         ══════════

   │                                │                                     │
   │   "Buy the Top-100 ITP"       │                                     │
   ├───────────────────────────────►│                                     │
   │                                │  Oracle consensus (BLS, 1s cycle)   │
   │                                │  ─────────────────────────────────  │
   │                                │  3 nodes agree on price + batch     │
   │                                │                                     │
   │                                │         Execute on Bitget ─────────►│
   │                                │◄──────────── Fill confirmed ────────│
   │   ITP shares in your wallet    │                                     │
   │◄───────────────────────────────│                                     │
   │                                │                                     │
   │   "Bet: RATP Line 13 late"    │                                     │
   ├───────────────────────────────►│                                     │
   │                                │  Sealed bet placed (nobody sees it) │
   │                                │                                     │
   │                                │◄──────── Actual delay data ─────────│
   │                                │  BLS-verified tick resolution       │
   │                                │                                     │
   │   Payout if you were right     │                                     │
   │◄───────────────────────────────│                                     │
   │                                │                                     │
   │   "Supply USDC to lending"    │                                     │
   ├───────────────────────────────►│                                     │
   │                                │  Morpho vault accepts deposit       │
   │   Earn yield from borrowers    │                                     │
   │◄───────────────────────────────│                                     │
   │                                │                                     │

The Infrastructure Beneath

Every system is an act of faith in its own plumbing. These are the pipes.

Data Node

A Rust service that aggregates 90+ data sources into one API. Crypto prices, transport delays, energy grids, weather stations, GitHub activity. It feeds NAV computation, market resolution, backtesting, and anomaly detection. The nervous system of the protocol. It never sleeps, because the world does not.

Bridge

Moves assets between the Index L3 and Arbitrum. DTF shares cross as standard ERC-20 tokens, composable with DeFi on the other side. Two chains, one position. The bridge is the part you forget about until it matters.

Explorer

System health dashboard. Oracle node status, consensus metrics, data source monitoring, fee tracking. The control tower. The place you visit when things are working, to reassure yourself they still are.

Bot Framework

Python trading bots for Vision markets. Register on-chain through the BotRegistry. Build strategies programmatically. The machines trade while you sleep, which is either a comfort or a terror.

Points System

Season 1 rewards. Earn points for trading DTFs, placing bets, supplying liquidity. Points track engagement. Whether engagement deserves tracking is a question the protocol does not ask.

Social Bot

Anomaly detection across 90+ sources. When something unusual happens — a transit collapse, a grid failure, a weather event — it posts to Twitter/X. Attention follows catastrophe. Markets follow attention.

Architecture

 ┌──────────────────────────────────────────────────────────────────────────────┐
 │                                                                              │
 │   USERS / BOTS                                                               │
 │       │                                                                      │
 │       ▼                                                                      │
 │   ┌──────────────────────────────────────────────┐                           │
 │   │            FRONTEND  (Next.js / Vercel)       │                           │
 │   │   Trading · Vision · Lending · Explorer       │                           │
 │   │   Points · Backtesting · Learning Content     │                           │
 │   └──────────┬───────────────────────┬────────────┘                           │
 │              │                       │                                        │
 │         SSE + REST              RPC calls                                    │
 │              │                       │                                        │
 │   ┌──────────▼──────────┐    ┌───────▼───────────────────────────────────┐   │
 │   │     DATA NODE        │    │              INDEX L3 (Orbit)             │   │
 │   │      (Rust)          │    │          Chain ID: 111222333              │   │
 │   │                      │    │                                           │   │
 │   │  90+ sources         │    │  Index.sol ── ITP trading                │   │
 │   │  PostgreSQL          │    │  Vision.sol ─ Prediction markets         │   │
 │   │  NAV engine          │    │  BotRegistry ─ Automated trading         │   │
 │   │  Backtesting         │    │  29 contracts total                      │   │
 │   └──────────┬───────────┘    └───────┬──────────────────┬───────────────┘   │
 │              │                        │                  │                    │
 │              │                   BLS-signed          Bridge                  │
 │              │                     txs                   │                    │
 │              │                        │                  │                    │
 │   ┌──────────▼───────┐    ┌──────────▼──────┐   ┌──────▼────────────────┐   │
 │   │  ORACLE NODES    │    │   AP / KEEPER    │   │    SETTLEMENT         │   │
 │   │  (3x Rust)       │    │    (Rust)        │   │    (Arbitrum)         │   │
 │   │                  │    │                  │   │                       │   │
 │   │  BLS consensus   │    │  Bitget trade    │   │  Morpho lending      │   │
 │   │  1s cycles       │    │  execution       │   │  Bridged ITP shares  │   │
 │   │  Round-robin     │    │  Bridge relay    │   │  NAV oracle          │   │
 │   └──────────────────┘    └──────────────────┘   └───────────────────────┘   │
 │                                                                              │
 │   ┌──────────────────┐    ┌──────────────────┐   ┌───────────────────────┐   │
 │   │   VISION BOT     │    │   SOCIAL BOT     │   │      CURATOR          │   │
 │   │   (Python)       │    │   (Python)       │   │      (Rust)           │   │
 │   │                  │    │                  │   │                       │   │
 │   │  Automated       │    │  Anomaly detect  │   │  NAV oracle updates  │   │
 │   │  prediction      │    │  98 sources      │   │  Morpho allocation   │   │
 │   │  market trading  │    │  Twitter / X     │   │  Health monitoring   │   │
 │   └──────────────────┘    └──────────────────┘   └───────────────────────┘   │
 │                                                                              │
 └──────────────────────────────────────────────────────────────────────────────┘
The full architecture — contract inventory, data flows, infrastructure layout — lives on the System Architecture page. It is longer than this one. Most architectures are.

Who Comes Here

AudienceWhat you do
TradersBuy diversified crypto exposure through DTFs with a single transaction. Bet on real-world outcomes in Vision markets.
Bot developersBuild Python strategies for automated Vision market trading. Register bots on-chain through the BotRegistry.
Fund managersCreate custom indexes with configurable weights and up to 100 assets. Earn deployer fees on every trade.
Data scientistsBacktest DTF compositions against historical data. Analyze 90+ data sources for prediction market edges.
Quant researchersExploit inefficiencies in sealed parimutuel markets. Build signal pipelines from transport, energy, and weather data.
DeFi power usersUse DTF shares as collateral in Morpho lending markets. Supply USDC to earn yield. Compose across Arbitrum DeFi.

Convictions

Every protocol is a set of opinions disguised as infrastructure. These are ours.
 ┌──────────────────────────────────────────────────────────────────┐
 │                                                                  │
 │  BLS CONSENSUS ON EVERYTHING                                    │
 │  ══════════════════════════                                     │
 │                                                                  │
 │  Every ITP trade, every Vision tick resolution, every            │
 │  bridge relay — verified by multi-party BLS signatures.          │
 │  No test modes. No owner overrides. No bypass flags.             │
 │                                                                  │
 │  REAL EXCHANGE EXECUTION                                        │
 │  ═══════════════════════                                        │
 │                                                                  │
 │  ITP orders are executed on Bitget by Authorized Participants.   │
 │  No AMM pools. No virtual liquidity. Real order books.           │
 │                                                                  │
 │  SEALED PARIMUTUEL BETTING                                      │
 │  ═════════════════════════                                      │
 │                                                                  │
 │  Vision bets are sealed — nobody sees what you bet until         │
 │  resolution. Parimutuel payouts: no house edge, winners          │
 │  split the pool proportionally.                                  │
 │                                                                  │
 │  90+ REAL-WORLD DATA SOURCES                                    │
 │  ════════════════════════════                                   │
 │                                                                  │
 │  Not just crypto. Transport delays across 4 countries,           │
 │  power outages, weather stations, GitHub repos, energy           │
 │  grids, sports, and more. All feeding into Vision markets.       │
 │                                                                  │
 └──────────────────────────────────────────────────────────────────┘

Where to Go Next

Getting Started

Connect a wallet. Buy something. The rest follows.

How DTFs Work

NAV pricing, per-share quantities, rebalancing. The formula that decides what your basket is worth.

Vision Markets

Sealed bets on real-world outcomes. The data resolves it. Not you. Not us.

Order Lifecycle

The path an order takes from your wallet through consensus to settlement. It is shorter than you think.

Lending

Earn yield on USDC. Borrow against positions. The usual Faustian bargain, but on-chain.

System Architecture

All 8 services, 29 contracts, 2 chains. The full diagram for those who need to see the machine.

Explorer

System health. Consensus metrics. The dashboard you check when you want to believe everything is fine.

Points & Rewards

Season 1. Earn points for using the protocol. A reward for doing what you were going to do anyway.