Horizon

A prediction market humans and AI agents pay to ask: curve orders, shared USDC liquidity, no fees.

Visit Repo
Horizon banner

About

Every AI model is trained on the past; the data that matters most is about the future, and nobody has it yet. Prediction markets are where people put real money on what happens next. Horizon is a binary prediction market on Ethereum Sepolia built so that a person or an AI agent can ask the world any question and pay for the answer. Creation is a paid service over Hedera x402; a verified World credential tells humans and agents apart, at half price; 1inch Aqua puts real USDC behind every quote, with one balance shared across markets; executable pricing curves let people and agents rest orders that reprice themselves; The Graph and Substreams keep the page true to the chain; and Hedera Consensus Service records the whole creation flow. The rest of this description is how each of those works. Makers publish executable pricing curves instead of resting single-price orders. A curve is a start price, an end price and a size; the chain evaluates it on every fill, so a BUY curve declines as the maker accumulates and a SELL curve rises as inventory leaves. Equal endpoints are just a fixed-price limit order. Fills are partial, exactly accounted, and cancellable at any time. One USDC balance backs quotes in every market at once. Maker funds sit in the wallet and are drawn through 1inch Aqua only at fill time, so a small maker can express views across several markets without pre-funding each one. Within a market, an on-chain per-market budget stops a maker's resting orders from ever committing more than the wallet can currently spend. Markets bootstrap themselves: a YES buyer paying 0.60 USDC and a NO buyer paying 0.40 USDC mint a fully backed pair in one transaction. Nobody has to seed inventory. An off-chain allocator picks up to four fills across direct and complementary legs, and RouteExecutor settles the whole route atomically or reverts it. Stale state, drained balances and slippage produce a clean rejection, never a partial trade. Trading carries no fee of any kind: no maker, taker, routing or protocol fee. The only charge is market creation, offered as a paid service to people and agents alike. A drafting step grounded on live indexed markets from The Graph proposes the question, outcomes, close time and resolution rules and warns about duplicates by market id; the requester approves a hash of the draft before anything is charged. Payment runs over Hedera x402, settled through Blocky402, and is resumable: a retried request never charges twice and never creates two markets. A verified World credential halves the price, at most once per credential per day. Every approved draft, settled payment and deployed market is then stated on a Hedera Consensus Service topic, in order, with a consensus timestamp anyone can read back from a mirror node. Markets, curves, fills, routes, collateral and resolutions are indexed by a Subgraph, mirrored into PostgreSQL for fast reads, and overlaid by a Substreams-fed live layer so a fill or a new market shows up in the open browser tab seconds after its block, before the indexer has it. Several binary markets can be grouped as an event under one review and one payment, optionally importing definitions (question, outcomes, criteria, dates; never prices or liquidity) from a Polymarket page. After close, a disclosed resolver submits YES, NO or INVALID once, with an on-chain evidence reference. Winning tokens redeem 1 USDC; INVALID pays 0.50 per token. Resolution and creation authority are deliberately centralized and stated in the UI; neither role can spend from a user wallet, withdraw collateral or mint unbacked outcomes. Demonstrated live: an atomic two-curve route on Sepolia and its indexed result, an agent completing a paid creation end to end (1 HBAR on Hedera testnet, then a market on Sepolia, then indexed by The Graph), a human verified through World Selfie Check paying the discounted 0.5 HBAR, and the creation audit trail on HCS topic 0.0.10473191 (62 statements at submission) verified byte for byte against the mirror node.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

QuietLast push 82 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.