Skip to main content
Play
Compete
Tools
Account
  1. About
Loading dashboard…

© 2026 StellarCade. All rights reserved.

AboutTermsPrivacy
Ecosystem Architecture

About StellarCade

A decentralized, provably fair gaming ecosystem built natively on Stellar and Soroban. Engineered for complete transparency, instant settlement, and non-custodial play.

Core Engineering Principles

How StellarCade guarantees trustless fairness and player sovereignty across all game modes.

Provably Fair by Design

Every round outcome is derived on-chain by the random-generator contract's commit-reveal scheme: the oracle's seed is hashed and committed before your bet, and the result follows from that seed and the round id alone.

Zero Custody

We never take custody of your keys or funds. Connect your self-custodied Freighter wallet and sign transactions only when initiating rounds or claiming prizes.

Soroban Speed & Low Fees

Built directly on Stellar's Soroban smart contract platform, enabling 5-second ledger closes and fractions of a cent per transaction without layer-2 complexity.

On-Chain Reward Pools

Tournament prize pools and daily quest rewards are held in smart contracts and distributed automatically according to immutable rules.

How Provable Fairness Works

Commit-reveal, exactly as the random-generator and coin-flip contracts implement it.

  1. Step 1: Commit

    Oracle commits a hidden seed

    Before any bet exists, the oracle publishes sha256(seed) to the random-generator contract. The seed itself stays hidden — SHA-256 cannot be reversed to recover it.

  2. Step 2: Lock

    Your bet claims that commitment

    place_bet pops the oldest commitment from the on-chain queue and binds it to your game id in the same transaction. With an empty queue the bet fails, so no round runs without a commitment.

  3. Step 3: Reveal

    The contract derives the result

    fulfill_random re-hashes the revealed seed and rejects it unless it equals the commitment, then computes sha256(seed ‖ round id) — first 8 bytes as big-endian, mod 2. 0 is Heads, 1 is Tails.

  4. Step 4: Verify

    Recompute it yourself

    Open the verifier with a round id: it reruns the contract's exact formula in your browser and checks the seed, the commitment and the stored result. No server involved.

What it does not cover

Commit-reveal fixes the seed before your bet; it cannot force the oracle to reveal it. A round the oracle never fulfils stays pending — after RefundTimeoutLedgers (17,280 ledgers, about 24 hours) you call cancel_stale_bet to reclaim your full wager, and a refunded game can never be resolved afterwards, so you get a refund or a payout, never both. The oracle also knows the seeds it commits; only SHA-256 preimage resistance keeps them secret from everyone else.

Launch Interactive Fairness VerifierRead the four steps in plain language

The StellarCade Family Repositories

The four specialized codebases that comprise the open-source StellarCade ecosystem.

Next.js • Soroban Rust

Web App & Soroban Contracts

The full Next.js frontend experience and comprehensive Rust Soroban smart contract catalog powering on-chain arcade rooms, game logic, and prize vaults.

github.com/theblockcade/stellarcade
TypeScript • WebCrypto

TypeScript SDK & Client Verifier

Universal TypeScript SDK providing client-side WebCrypto fairness verification, Freighter wallet connectors, RPC helpers, and typed game APIs.

github.com/theblockcade/stellarcade-sdk
TypeScript • Node.js

High-Throughput Settlement Arbiter

Deterministic off-chain settlement service managing commit-reveal cycles, ledger hash commitments, and hash-chained dispute resolution audit trails.

github.com/theblockcade/stellarcade-arbiter
Telegram • Discord • Ed25519

Community Discord & Telegram Bot

Automated chat interfaces supporting non-custodial Ed25519 challenge-response wallet linking, real-time leaderboard queries, and quest tracking.

github.com/theblockcade/stellarcade-bot