Skip to content

Web3 Casino Crash Game is a decentralized, blockchain-powered Crash gambling game built with Web3 technologies. This project leverages smart contracts, secure crypto wallets, and provably fair algorithms to deliver a transparent and engaging casino experience on the blockchain.

Notifications You must be signed in to change notification settings

ChainInsighter/Web3-Casino-Crash-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฐ Crypto Gamefi ๐ŸŽฎ

Scissors โ€ข Crash โ€ข Mines โ€ข Turtle โ€ข Plinko โ€ข Dice โ€ข Slot Game A modern crypto-powered gaming platform supporting multi-chain tokens and exciting on-chain games.

Platform Preview


๐Ÿ•น๏ธ Games Included

Game Description Preview
โœ‚๏ธ Scissors Classic multiplayer hand game Scissors
๐Ÿš€ Crash Bet before the graph crashes! Crash
๐Ÿ’ฃ Mines Find safe spots, avoid bombs! Mines
๐Ÿข Turtle Race Race to win in a thrilling format Turtle
๐ŸŽฒ Dice Traditional luck-based dice game Dice
๐ŸŽฐ Slot Spin the reels, win rewards! Slot

๐Ÿ’ฐ Supported Cryptocurrencies

  • โ‚ฟ Bitcoin (BTC)
  • ฮž Ethereum (ETH)
  • $ Abstract
  • ๐ŸŸก Binance Smart Chain (BSC)
  • ๐Ÿ”ท Solana (SOL)
  • ๐Ÿ’ต USDT (All major chains)

๐Ÿ—๏ธ Project Structure

Frontend (Port: 8800)

  • Game UI and wallet interactions
  • Real-time Socket.IO updates
  • User account dashboard

Admin Panel (Port: 9000)

  • Game & user management
  • Live transaction monitoring
  • Platform analytics

Backend (Microservices)

Service Port
Main Server 5000
Admin Service 6100
Scissors Game 5200
Chatroom Service 4900
Management Service 4000
... and more game services

๐Ÿš€ Getting Started

โœ… Prerequisites

  • Node.js v16 (Backend)
  • Node.js v14 (Frontend & Admin)
  • MongoDB instance
  • Web crypto wallet (MetaMask, TrustWallet, etc.)

๐Ÿง  Backend Setup

cd backend
npm install

# Start services
npm start              # Main server
npm run scissors       # Scissors game
npm run crash          # Crash game
npm run chatroom       # Chat system
npm run manage         # Management service

๐ŸŽจ Frontend Setup

cd frontend
npm install
npm start

๐Ÿ› ๏ธ Admin Panel Setup

cd admin
npm install
npm start

โš™๏ธ Configuration

Create .env files in each of the backend, frontend, and admin folders:

# Example for Backend
MONGODB_URI=mongodb+srv://...
JWT_SECRET=your_jwt_secret
TATUM_API_KEY=your_tatum_api_key
WEB3_PROVIDER=https://mainnet.infura.io/v3/your_key

๐Ÿ›ก๏ธ Security Highlights

  • ๐Ÿ” JWT-based auth
  • ๐Ÿงช Two-Factor Authentication (2FA)
  • ๐Ÿ”— Secure wallet integration
  • ๐Ÿ›‘ DDoS Protection
  • โšก Rate Limiting

๐Ÿงฑ Tech Stack

  • Backend: Node.js + Express.js
  • Frontend: React.js
  • Database: MongoDB
  • Real-Time: Socket.IO
  • Blockchain: Web3.js, Ethers.js, TronWeb
  • Payments: Tatum API

๐ŸŒ‰ Blockchain & API Integration

  • Multi-chain Web3 Providers
  • Native node access
  • Tatum for wallet & transaction processing

๐Ÿ“ฆ Key Features

  • ๐Ÿ” Real-time multiplayer gameplay
  • ๐Ÿ‘› Multi-currency wallet support
  • ๐Ÿ—จ๏ธ Live chat
  • ๐Ÿ“Š Game and transaction history
  • ๐Ÿงพ Admin dashboard & analytics
  • โšก Instant crypto payouts

๐Ÿค Contributing

  1. Fork the repo ๐Ÿด
  2. Create your feature branch ๐ŸŒฑ
  3. Commit changes ๐Ÿ’พ
  4. Push the branch ๐Ÿš€
  5. Open a Pull Request โœ…

๐Ÿ“„ License

This project is licensed under the ISC License. Feel free to build and contribute โ€” responsibly and legally!

About

Web3 Casino Crash Game is a decentralized, blockchain-powered Crash gambling game built with Web3 technologies. This project leverages smart contracts, secure crypto wallets, and provably fair algorithms to deliver a transparent and engaging casino experience on the blockchain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published