Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

7d11b6d5317798c7ebd96600371acae6 (1) flip.is — Solana Coin Flip Game

Welcome to flip.is, a provably fair Solana Web3 coin flip betting platform. Players create multiplayer betting rooms, flip a coin heads or tails, and compete for double their stake. The app ships with a responsive interface and real-time gameplay powered by WebSockets and on-chain settlement.


📩 Contact

For inquiries, collaborations, or support, reach out on Telegram:

Telegram Contact


🌟 Features

https://www.youtube.com/watch?v=B0pLXF-sOuo

Our platform includes the following core flows:

  1. Create Room 💎 — Set your bet amount and preferred token, then open a new game room.

  2. Join Room ⚽ — Browse open rooms created by other players and join a match.

  3. Play Game 🃏 — Once two players are in a room, the coin flip resolves via VRF-backed randomness.

  4. Earn Reward 🥂 — Win the round and receive double your deposited stake (minus fees).

  5. Game Expiration 🔺🔻 — Rooms with no opponent expire after 30 minutes and funds are refunded automatically.

  6. Real-Time Interface 🎢 — Live game updates over WebSocket on the UI.


🔒 Security and Fairness

Our platform is built on a robust and modern technology stack to ensure performance, security, and scalability.

Provably Fair System

Each flip uses Orao's Verifiable Random Function (VRF) for unbiased outcomes:

  • Unique random seed per game ⚛️
  • Mathematically verifiable outcomes 📘
  • Fully transparent on-chain process 🎨

Smart Contract Security

  • Audited smart contracts 🚀
  • Automatic escrow system 💻
  • Secure fund handling 🎰

🛠️ Tech Stack

🎨 Frontend (flip-frontend)

  • React.js — Dynamic, responsive UI
  • TypeScript — Type-safe client code
  • Tailwind CSS — Modern styling
  • WebSocket — Real-time game state

🔒 Backend (flip-backend)

  • Node.js — Server-side logic
  • TypeScript — Maintainable API layer
  • Socket.IO / ws — Real-time communication
  • MongoDB — Game rooms and message persistence

⛓️ Smart Contract (flip-smart-contract)

  • Anchor / Rust — On-chain flip program and escrow
  • Orao VRF — Verifiable randomness

📂 Project Structure

Solana-Casino-Coinflip-Game/
├── flip-frontend/          # React web client (https://www.flip.is/)
│   ├── public/
│   ├── src/
│   │   ├── Component/
│   │   │   ├── Flip/       # Main game views
│   │   │   ├── Modals/
│   │   │   ├── coming/
│   │   │   ├── Header.tsx
│   │   │   ├── Pattern.tsx
│   │   │   └── ToastGroup.tsx
│   │   ├── config/
│   │   ├── Context/
│   │   └── App.tsx
│   └── package.json
├── flip-backend/           # Express + WebSocket API
│   ├── controller/
│   ├── model/
│   ├── constant/
│   └── index.ts
├── flip-smart-contract/    # Anchor program
│   └── flip/
│       ├── programs/flip/
│       ├── cli/
│       └── tests/
└── readme.md

⚽ How to Play

  1. Connect your Solana wallet at flip.is.
  2. Create a game with your bet amount and token (SOL, USDT, USDC, or BONK).
  3. Join an open room from the dashboard, or wait for an opponent in your room.
  4. Ensure your wallet holds enough funds to cover the bet before joining.

Let's redefine the world of on-chain gaming together! 🌟

About

Provably fair Solana coin flip platform — React frontend, Node.js backend, and Anchor smart contract powering https://www.flip.is/

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages