On-Chain Prediction Markets on Solana, Explained

A prediction market lets you buy and sell shares in the outcome of a future event, where the share price is the market estimate of how likely that outcome is. An on-chain prediction market runs that entire process — pricing, trading, settlement, and payout — as public code on a blockchain, with no company holding your funds or deciding who won. Here is how it works on Solana, using LeakCall as a concrete example.

What is a prediction market?

A prediction market is a marketplace for probabilities. Instead of a bookmaker setting fixed odds, traders buy YES or NO shares in a question such as "Will Bitcoin be above $120,000 by December 31?" Each YES share pays $1 if the answer turns out yes and $0 if not.

Because a share can only ever settle at $1 or $0, its live price reads directly as a probability. A YES price of 61 cents means the market currently estimates about a 61% chance the event happens. As new information arrives, traders move the price, and the crowd estimate updates in real time. Decades of research find these markets are often more accurate than individual pundits, because people are backing their views with real money.

What makes a market 'on-chain'?

Most betting platforms are custodial: you deposit money into a company account, trust its servers to price and record trades, and trust it to pay you when you win. An on-chain prediction market replaces that trust with code.

On Solana, the market logic lives in programs (smart contracts) anyone can inspect. Your funds sit in a program-controlled vault, not a company bank account. Every trade, price, and payout is a public transaction. Nobody can freeze your balance, quietly change the odds, or refuse a withdrawal — the rules are fixed in the program.

How prices are set: the LMSR market maker

Traditional exchanges match buyers to sellers through an order book, which needs many participants on both sides. New markets rarely have that liquidity on day one, so on-chain prediction markets often use an automated market maker instead.

LeakCall uses an LMSR (Logarithmic Market Scoring Rule) — a well-studied formula that always quotes a price for YES and NO, even with few traders. The two prices always sum to $1, so they behave like probabilities. Buying YES pushes the YES price up and NO down, exactly as demand should move an estimate. You never wait for a counterparty; the market maker is always there.

How markets settle: deterministic oracle resolution

The hardest problem in prediction markets is deciding who won. Many on-chain markets rely on human-reported outcomes and an optimistic oracle with a dispute window — anyone can challenge the result, so real markets can stay unresolved for days while people argue.

LeakCall takes a different approach for price questions: it reads the answer directly from an on-chain price oracle (Pyth). When a market like "Will SOL be above $200 by the deadline?" reaches its deadline, the program fetches the cryptographically-signed Pyth price at that moment and settles automatically. No human judge, no committee, no dispute window. Given the price, the target, and the direction, two honest observers can never disagree. Settlement is deterministic.

Getting paid: automatic payouts

On most platforms, winning is a two-step process: the market resolves, then you return and click claim or withdraw. LeakCall removes the second step. When a market settles, USDC winnings are sent directly to the wallets holding the winning side, automatically. There is no claim button anywhere in the product — if you are right, the USDC simply appears in your wallet.

Non-custodial, no sign-up

Because everything runs on-chain, there is no account to create and no KYC form to fill in. You connect a Solana wallet such as Phantom or Solflare and trade with USDC directly from it. LeakCall never holds your funds or your keys. Your position is a token in your own wallet, and your winnings land back in the same place.

How LeakCall works, in five steps

1. Connect a Solana wallet (Phantom or Solflare).

2. Pick a market, for example "Will BTC be above $120k by year end?"

3. Buy YES or NO shares with USDC — the price is the probability.

4. At the deadline, the Pyth oracle settles the market automatically.

5. If your side wins, USDC is paid to your wallet automatically. Each winning share redeems for $1.00.

On-chain vs. traditional prediction markets

Compared with centralized event exchanges, on-chain markets trade custody and KYC for self-custody and open access. Compared with other on-chain markets that use dispute-based resolution, deterministic oracle settlement means price questions resolve instantly and unambiguously. The trade-off is scope: oracle settlement works cleanly for anything with a reliable on-chain price feed — which is exactly what LeakCall focuses on, crypto and stock price targets.

Frequently asked questions

Is an on-chain prediction market gambling?

Prediction markets are information markets: prices aggregate what many people believe about a future event, and studies find them more accurate than individual forecasters. As with any trading you can lose what you put in, so only trade what you can afford to lose.

Do I need an account or KYC?

No. You connect a Solana wallet and trade with USDC. There is no sign-up and no identity verification on LeakCall.

How is the winner decided?

For price markets, LeakCall reads the Pyth on-chain oracle price at the deadline and settles automatically. There is no human arbiter and no dispute window.

How do I get paid if I win?

Automatically. When a market resolves, USDC is sent to the wallets holding the winning shares — there is no claim step. Each winning share is worth $1.00.

What can I bet on?

Whether specific crypto assets (BTC, ETH, SOL) or stocks (TSLA, NVDA, AAPL, SPY) will be above or below a target price by a deadline.

Is LeakCall live on mainnet?

LeakCall is currently in closed beta on Solana devnet using test USDC. Follow along for the mainnet launch.

See it in action

Browse live markets on crypto and stock price targets, settled on-chain by the Pyth oracle.

Browse live markets →