A keyless prediction market arcade on Solana β sealed shots settled on Pyth. Demo needs no wallet.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Live: https://ratchetx.xyz Β· Token: $RCX on
pump.fun Β·
CA FQb2EyaLZ9TWBemYmQ9zWtXcEwLiSXtz7j619ThQpump (Token-2022) Β·
graduated β liquidity in PumpSwap pool 3gbSEBMBbfqrC7wT7craJNkUhxNTBFyNjhrmedcHJusV
Fire sealed shots at the market, settled on real Pyth oracle prices. Beat the Warden. Climb the ranks. Every stake: 70% burned Β· 30% pots Β· 0% to the team β the rule is printed on the fire button and frozen. The creator is paid from trading fees only.
This source tree declares h70-2026-08-25. A deployment is release-consistent only when
both production domains return the same version:
All public APIs in this repo declare const VERSION = 'h70-2026-08-25'.
Every UTC hour derives the same board without database coordination: each of the seven Pyth
feeds appears exactly once across directional windows from five minutes to twenty-four hours,
plus PUMP, DUMP, RACE and BOX structures. New shots seal outcomeRule: strict-compare-v2:
any real numerical difference settles, while exact equality or missing oracle evidence refunds.
Legacy open shots keep their original 4bp dead-zone rule; a release never rewrites a sealed bet.
Distinct Pyth transitions that share one-second publish_time are retained by their full evidence
fields and ordered by on-chain posted_slot; timestamp equality alone never discards a crossing.
The capture Worker queues every distinct account/slot/data event instead of coalescing rapid
same-account transitions, and submits batches within the authenticated API's 32-event limit.
The Champion's Cut: every reload uses the frozen 70/30/0 split β 70% burns and 30% is paid straight to the published podium snapshot (50/30/20) inside the reloader's own signed transaction. Today's settled-XP top three update those seats live. At 00:00 UTC the previous podium fills only empty positions; today's #1, #2 and #3 replace yesterday's #3, #2 and #1. There is no continuing hold/sell condition, pool, custody or claim button. The Gearbox remains separate: register with a signature and earn daily play-credits on a verified balance without depositing tokens.
The token authorities are revoked and the code is public. The state is exportable, not magically
trustless: GET /api/snapshot includes players, queues, receipts, sorted leaderboards and the full
hash-chained log. docs/RESURRECTION.md verifies the envelope hash and event chain before restoring
a saved export. Solana memo anchors timestamp log checkpoints and daily balance roots; they do not
prove every live database mutation between checkpoints. Keep frequent snapshots.
New seals use sha256("RATCHET|v2|wallet|shotId|SIDE|salt"); legacy rows keep
commitVersion: 1 and remain verifiable. Spectator APIs, the public log and snapshots never
carry open sides. The server necessarily retains reveal terms until settlement, so this protects
against spectators and copied public calls; it is not zero-knowledge from the operator.
The reviewed v2 non-custodial program is deployed on Solana mainnet:
Program 23k3r8AJRdX64iipwNMqPdN2vSgNmw9stGs7cJqmZEEX
SOL FeedClock CE5m9Xag3wwgcfVkbSBnv5WFKPrY1ZhLwSSru9wu9gN
The deployed binary verifies official upgraded shard-0 sponsored Pyth accounts, confidence, canonical shot terms and wallet-bound v2 commitments. Permissionless checkpoints form a compact program-owned clock; settlement selects the first verified Ratchet checkpoint crossing expiry, with disjoint settle/void deadlines, commit-reveal and rent cleanup. This needs no Hermes API key or trusted price signer. Eligible SOL chambers expose optional player-paid sealing during the soak period; server settlement remains canonical until checkpoint, settle, reveal and close automation is integrated end to end. Upgrade authority is deliberately retained during soak β and is revoked for good on 2026-09-08, registered before the fact in docs/FREEZE.md. This program is not a redeemable floor vault; do not describe the modeled floor as redeemable until a separate funded vault PDA, liabilities proof and no-withdraw path are deployed and independently reviewed.
Zero production npm dependencies. The Blink transaction is serialized locally and the
exact Web3 browser bundle used for wallet transactions is vendored under vendor/, so
no third-party CDN executes inside the page. No framework. No build step.
No key that can touch funds.
| file | what it is |
|---|---|
index.html | the entire client β game, Warden, ranks, proof page |
api/game.js | the entire game server: THE BOARD (hourly-generated targets), sealed shots, lazy settlement, XP/ranks, daily + weekly pots, champion payouts, soft-staking, burn-verified reloads, log anchoring |
api/proof.js | the live proof: every claim re-checked against the chain, each able to go red |
lib/prices.js | Pyth Hermes prices, Coinbase fallback β keyless GETs, same source at seal and settle |
lib/burn.js | reads a burn transaction from the chain and credits it only if it is real, recent, supply-reducing, and never seen before |
lib/verify.js | wallet-signature auth (Ed25519 via node:crypto), no JWT, no session store |
lib/log.js | the hash-chained event log and its permissionless on-chain memo anchor |
lib/kv.js | Supabase/Postgres in production, documented Upstash rollback, honest in-memory local fallback |
api/snapshot.js | the Black Box: the whole state, downloadable and verifiable by anyone |
lib/pxlog.js | the observed price record: what the oracle said, minute by minute β settlement reads from this, not from "the price now" |
lib/vol.js | realised volatility, measured from that record. The Warden's stated probability comes from here |
lib/feedhealth.js | third-party measurement of the Pyth feeds, and the daily rollups that outlive the raw samples |
lib/record.js | the open dataset of sealed, settled predictions |
api/feeds.js | the observatory β what the sponsored feeds actually did |
api/supply.js | the supply clock β $RCX destroyed, read off the mint account daily |
api/record.js | the record β the dataset, CORS-open, no key |
api/shot.js | one settled shot as a public, checkable page |
scripts/restore.mjs | verify a snapshot's hash chain and resurrect the machine into fresh storage |
scripts/run-tests.mjs | every suite, isolated per process β npm test |
docs/ | the written record: audit, changelog, dataset schema, on-chain transcript |
test/ | 36 suites. Not decoration β most exist because something was actually wrong |
Run npm install first. The tests themselves are plain Node; the two direct packages serve only
the Solana Action/Blink endpoint.
Each suite runs in its own process, because these tests stub modules through require.cache and
state leaking between files has produced false passes here before. Five suites drive a real browser
against a locally served copy of the site and skip themselves if no server is running.
docs/DATASET.md. No key, CORS-open, paginated.Mint authority revoked and freeze authority revoked β read from the mint account, not asserted. Supply only falls, checked against the first supply ever observed. Burns are attributed by cause: what players verifiably burned (replay-gated by signature) is counted separately from what pump.fun burned at graduation β we only take credit for ours. The incinerator balance and recent burn signatures, straight off the chain. Graduation and the PumpSwap pool, read from the pump.fun record. And the event log's head, anchorable by anyone into a Solana memo from their own wallet (+25 XP for the scribe).
The floor at the center of the game is simulated and labeled so until the audited vault program ships. A checklist that can only be green is decoration; every line here can fail.
Deploy this folder to Vercel as-is. It works with no configuration (ephemeral demo mode, and the page says so). Environment variables, all optional except the mint:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ratchet-arcade)<a href="https://allmcps.com/mcp/ratchet-arcade"><img src="https://allmcps.com/api/badge/ratchet-arcade?style=directory" alt="RATCHET Arcade on AllMCPs" /></a>