gitwtfhub

wtf is astraea?

0xkinno/astraea — explained in plain English

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 4/5LicenseSetup · hard

TL;DR

A football prediction app on Solana that settles bets automatically using live match data and cryptographic proofs, so no company has to be trusted to pay out.

Mindmap

mindmap
  root((astraea))
    What it does
      Football prediction exchange
      Trustless settlement
      Proof based payouts
    Tech stack
      TypeScript and Next.js
      Solana Devnet
      Phantom wallet
    Use cases
      Peer to peer betting
      Live proof verification
      Hackathon demo
    Audience
      Developers
      Blockchain builders
    Data flow
      TxLINE live scores
      Merkle proof
      On-chain settlement

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

Try a live demo of a trustless prediction market that settles bets from real match data.

REASON 2

Study a real example of Merkle proof based settlement on Solana.

REASON 3

Learn how to build an escrow and matching system for peer to peer betting on-chain.

REASON 4

See how a Next.js frontend can read live on-chain events and display them to users.

What's in the stack?

TypeScriptNext.jsSolanaPhantom Wallet

How it stacks up

0xkinno/astraea0xkinno/halcyon0xpulseplay/divergence-desk
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardhardhard
Complexity4/54/54/5
Audiencedeveloperdeveloperdeveloper

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

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires a Solana Devnet wallet like Phantom and depends on the separately deployed Txoracle program and TxLINE data feed.

MIT license, free to use, modify, and share as long as the original copyright notice is kept.

Wtf does this do

Astraea is a football prediction exchange built so that nobody has to trust a company to pay out winnings honestly. Instead of a platform declaring who won a bet, the app reads live match data from a service called TxLINE, checks that data against a cryptographic proof stored on the Solana blockchain, and lets a program automatically release funds once the proof checks out. It was built for the Superteam x TxLINE World Cup Hackathon, in the prediction markets and settlement category. The basic flow works like this: a user creates a prediction and deposits funds, which are held in an on-chain vault. A matching service pairs that prediction with someone taking the opposite side. As the real match plays out, TxLINE streams live scores and odds. Once the match ends, a keeper service fetches a Merkle proof, a kind of cryptographic receipt, for the final result and submits it to the on-chain program. If the proof is valid, the payout happens automatically, with no person approving or reviewing it. The project stresses that it never calculates outcomes itself. It only checks whether TxLINE's published match data matches a specific claim, such as who won or the total goals scored, and lets the on-chain program verify that against a stored proof before releasing money. The app is built with Next.js, connects to a Phantom wallet, and currently runs on Solana's test network called Devnet, using a program named Txoracle that was deployed by a separate company, TxODDS. The README includes a guided demo flow: connecting a wallet, claiming free test tokens, picking a match to bet on, watching the trade get automatically matched, and then tracking orders, settlement status, and history, all pulled live from the blockchain rather than sample data. The project also includes a table distinguishing which parts are working on-chain versus still in progress, showing that most of the core trading and settlement pieces were functional at the time of writing.

Yoink these prompts

Prompt 1
Explain how Astraea's Merkle proof settlement works and why it removes the need to trust the platform.
Prompt 2
Walk me through the demo flow for creating a prediction on Astraea using a Phantom wallet.
Prompt 3
Help me understand the Solana program instructions Astraea uses for create_intent and settle_trade.
Prompt 4
Show me how TxLINE's live match data connects to Astraea's on-chain settlement.

Frequently asked questions

wtf is astraea?

A football prediction app on Solana that settles bets automatically using live match data and cryptographic proofs, so no company has to be trusted to pay out.

What language is astraea written in?

Mainly TypeScript. The stack also includes TypeScript, Next.js, Solana.

What license does astraea use?

MIT license, free to use, modify, and share as long as the original copyright notice is kept.

How hard is astraea to set up?

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

Who is astraea for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

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