Getting Started

Onchainbets Documentation

The Future of Decentralized Gaming

100% transparent, provably fair casino games built on Solana blockchain.

Introduction

Onchainbets is the world's first fully decentralized casino built on Solana. Every game, every bet, and every payout happens entirely on-chain with complete transparency and provable fairness.

Unlike traditional online casinos that rely on centralized servers and hidden algorithms, Onchainbets operates through smart contracts where every outcome is verifiable and every transaction is public.

Experience the future of gaming where trust is built into the code, not promised by corporations.

Why Onchainbets?

100% Transparent
Every bet generates an NFT ticket stored on-chain. All game logic is open-source and verifiable.
Instant Payouts
Winnings are automatically sent to your wallet the moment you win. No delays, no withdrawal limits.
Provably Fair
Cryptographically verifiable randomness ensures every game outcome is fair and cannot be manipulated.
No KYC Required
Play anonymously with just your Solana wallet. No personal information required.

Games

Onchainbets offers 11 fully on-chain games, each designed for fairness, speed, and excitement.

Dice

Bet on a number range (1–100). Win if roll falls in range.

Slots

Spin the reels. Match symbols. Win big.

Flip

Heads or tails. 50/50 odds. Double or nothing.

HiLo

Guess if the next card is higher or lower. Chain wins to increase payout.

Mines

Avoid mines on a 5x5 grid. Uncover tiles to multiply your bet.

Roulette

European-style (0–36). Bet on numbers, colors, or ranges.

Additional Games

Plinko: Drop a ball through pegs. Landing bin determines payout.
Crash: Watch a multiplier rise. Cash out before it crashes.
Blackjack: Classic 21. Beat the dealer. On-chain logic.
Jackpot: Progressive prize pool funded by a % of every bet. Randomly triggered.
Plinko Race: Multiplayer Plinko. Players drop simultaneously. Highest win wins extra.

All games are built with on-chain randomness and transparent payout logic.

Provably Fair System

How It Works

1

Before the game, your browser generates a client seed (never sent to us).

2

A commit hash (SHA256 of the seed) is stored on-chain.

3

After the game, the Solana block hash is used as the server seed.

4

The final outcome is computed from: SHA256(client_seed + block_hash)

No one — not even the developers — can manipulate the outcome after your bet is placed.

🔍 You can verify the result at any time using your seed and the transaction data.

How to Play

How It Works

1

Connect Your Wallet

Click "Connect" in the top-right corner and choose your wallet:

  • • Phantom
  • • Backpack
  • • Solflare
  • • Ledger (via extension)
2

Choose a Game

Browse the game grid and click any title: Dice, Slots, Flip, HiLo, Mines, Roulette, Plinko, Crash, Blackjack, Jackpot, Plinko Race.

3

Place a Bet

  • • Enter your bet amount
  • • Set game parameters (e.g., dice range, crash auto-cashout)
  • • Confirm with your wallet
4

Watch & Win

  • • The result is computed instantly and settled on-chain
  • • Winnings are automatically sent to your wallet

💡 Tip: Use FAKE tokens in demo mode to practice risk-free.

Community

Discord
Live support, community events, and exclusive giveaways
Twitter
Latest updates, big wins, and community highlights
GitHub
Open-source smart contracts and frontend code
Community
Quick updates and community discussions

Roadmap

Q1 2025 - Platform Launch

Launch v1.0 with 11 fully on-chain games and provably fair system.

Q2 2025 - Token & Governance

Introduce $BETS token with staking rewards and community governance.

Q3 2025 - Security Audit

Complete third-party security audit by leading blockchain security firms.

Q4 2025 - Mobile App

Native mobile applications for iOS and Android platforms.

2026 - Multichain Expansion

Expand to Ethereum L2s, Sei, and other high-performance blockchains.

🏁 Ready to Play?

No sign-up. No KYC. Just connect your wallet and start winning.