VERDICT
Initializing Protocol...
0%
Live on Solana Devnet · 16 instructions shipped

Trade uncertainty.
Settle with certainty.

A resolution layer for prediction markets on Solana. Verdict creates every market it resolves via CPI into pm-AMM, then settles it with Pyth, a bonded proposal, or a staked jury, never an admin.

terminal
# 1. Install the SDK
npm install @verdict-protocol/sdk
# 2. Create a market and let the rules decide
await verdict.createPriceMarket({ ... })
── end_ts passes, Pyth price lands ──
await verdict.settle(marketId)
✔ Settled from a live Pyth price. No admin involved.

16

On-Chain Instructions

42

LiteSVM Tests Passing

2

Markets Settled Live

0

Admin-Decided Outcomes

Features

Rules, Not an Admin

Verdict replaces "trust one account to decide who won" with rules enforced by the program itself, from price feeds to a jury of your peers.

Program-Enforced Resolution

A market's rules are structured, hashed, and locked on-chain at creation. Nobody, not Verdict, not the market creator, can change them later.

rules_hash: [u8; 32]

Pyth Auto-Settlement

Price questions settle themselves. Once a market expires, anyone can post a Pyth price update and push it through; earliest valid price wins.

submitPriceEvidence()

Bonded Optimistic Proposals

For questions nothing can price automatically, someone proposes an answer with a bond. If nobody disputes it in the window, it stands.

proposeOutcome()

Staked Jury, Commit-Reveal

A disputed proposal goes to staked jurors who vote one person, one vote: commit, then reveal, so nobody can copy the leading answer.

commitVote() · revealVote()

Public Receipts

Every settled market has a verifiable record of exactly why it paid out: rules hash, evidence, vote tally, all readable with no wallet required.

getReceipt()

CPI-Native Integration

Verdict creates every market it resolves via CPI into pm-AMM, with its own resolver PDA as the on-chain authority, never a human admin key.

pm_amm::resolve_market

TypeScript SDK on npm

@verdict-protocol/sdk hand-encodes instruction builders for all 16 instructions, and runs identically in Node and in the browser.

npm install @verdict-protocol/sdk

42 LiteSVM Tests

Every instruction gets a test before the next one starts, including clock-warped settle/claim flows the upstream program's own tests skip.

cargo test -p verdict

Devnet, Unaudited, Honest About It

Nothing here is mocked. pm-AMM is unaudited, so Verdict says so and stays off mainnet until that changes.

Two ways to settle

Pick the Resolution
That Fits the Question

Not every question has a price to read. Verdict supports automatic settlement for anything Pyth already tracks, and bonded optimistic settlement, with a jury fallback, for anything it doesn't.

  • Price markets settle from Pyth, no human involved
  • Optimistic markets settle from a bonded proposal
  • Disputed proposals go to a staked jury
  • Every path ends in the same public receipt
terminal
# Has a price feed? Settle automatically.
await verdict.createPriceMarket({ ... })

# Nothing to price? Propose, then dispute if needed.
await verdict.createOptimisticMarket({ ... })

✔ Either way: a public receipt, no admin key.

Any prediction market can call
Verdict with one CPI.

Devnet, unaudited, built for the Solana Perps and Prediction Markets hackathon.