Decentralized poker platform built on the CHIPS blockchain using Verus IDs for node communication.
- Dealer: Manages tables
- Player: Joins tables
- Cashier: Validates transactions
- GUI HTTP: Port
1234(serves web interface) - WebSocket: Ports
9000(dealer),9001(player),9002(cashier) - configurable in respective config files
- Linux or macOS
- Running CHIPS daemon (
chipsd) with blockchain synced - Verus IDs registered on CHIPS blockchain (for dealer/cashier)
- Ports
1234and9000-9002open
-
Clone the repository:
git clone https://github.com/sg777/bet.git cd bet git submodule update --init --recursive -
Build the project:
cd poker make -
Build dependencies (if needed):
make --directory ../external/iniparser
See Compilation Documentation for detailed build instructions.
Pre-compiled binaries are available in the Releases section.
Configuration files are in poker/config/. See Configuration Documentation for details.
# Dealer
cd poker && ./bin/bet dealer
# Cashier
cd poker && ./bin/cashierd
# Player
cd poker && ./bin/bet playerOpen http://localhost:1234 in your browser after starting any node.
Get address and fund:
chips-cli getnewaddress
# Send CHIPS to this addressWithdraw:
cd poker && ./bin/bet withdraw <amount> <destination_address>Note: Ensure sufficient CHIPS for stake size + transaction fees.
Comprehensive documentation is available in the docs/ directory:
- Documentation Index - Complete documentation guide and navigation
- Getting Started - Installation and setup instructions
- Configuration Guides - Node configuration (dealer, player, cashier)
- Architecture & Protocol - Verus ID architecture and protocol details
- API Reference - GUI WebSocket API documentation
See LICENSE file for details.