Technical Architecture

Purr Poker employs a hybrid architecture that combines the security of blockchain with the performance of traditional gaming infrastructure, creating a seamless and trustless poker experience.

Hybrid Approach Overview

The Best of Both Worlds

Purr Poker strategically allocates responsibilities between blockchain (on-chain) and traditional server (off-chain) components to maximize both security and performance. This hybrid approach provides the trust and transparency of blockchain while maintaining the real-time gameplay experience players expect.

On-Chain Components (Hyperliquid EVM)

  • Fund Security: Player deposits and withdrawals funds directly using a "Poker Table" smart contract
  • Settlement: Final balance adjustments after hands
  • Rake Collection: Transparent fee distribution
  • Buyback Mechanism: Automated token buyback and burn
  • Token Operations: Staking, governance, and utility

Off-Chain Components (Server)

  • Game Logic: Card dealing, betting rounds, hand evaluation
  • Real-time Interactions: Player actions and responsiveness
  • State Management: Tracking the evolving game state
  • User Experience: Low-latency gameplay and visualizations
  • Tournament Management: Brackets, timers, and coordination
  • Anti-Fraud Systems: Collusion detection and fair play monitoring

Architecture Diagram

Architecture Diagram

Illustrating the interaction between on-chain and off-chain components

Coming soon - Diagram in development

The system architecture follows a modular design with clear separation of concerns between components. Communication between the blockchain and server components is secured through cryptographic signatures and verification, ensuring that only authorized state transitions occur on the blockchain.

Key Technology Components

1

Table Smart Contract

Built on Hyperliquid EVM, the Table Contract acts as a secure escrow for player funds and handles all financial transactions. It includes the following features:

  • Secure deposit and withdrawal functions
  • Cryptographically secured balance updates
  • Transparent rake collection and distribution
  • Permission systems to protect player funds
  • Verification of server signatures for balance changes
2

Game Server

Our high-performance gaming server handles all gameplay logic and maintains the state of active games. Key components include:

  • Real-time WebSocket communication
  • Cryptographic random number generation
  • Texas Hold'em rule enforcement
  • Anti-cheat and collusion detection systems
  • Signature generation for secure settlements
  • State persistence and recovery mechanisms
3

Client Application

Our responsive web application provides a seamless interface for players to interact with the platform:

  • Intuitive poker interface with animations and visual cues
  • Wallet integration for seamless blockchain interactions
  • State synchronization with the game server
  • Multi-table support (future release)
  • Mobile-responsive design
  • Built with modern web technologies (React, TypeScript)
4

Settlement System

Our settlement system bridges the on-chain and off-chain components with cryptographic security:

  • Server signs game outcome with private key
  • Smart contract verifies signature authenticity
  • Only valid, authorized outcomes can update balances
  • Provides non-repudiation and tamper resistance
  • Records all settlements for transparency and auditability

Technical Advantages

High Performance

By handling gameplay off-chain, we avoid blockchain latency and gas costs for every action, while still providing the security of on-chain settlements. This results in a smooth, responsive experience comparable to traditional poker sites.

True Security

Player funds are always held in smart contracts rather than centralized accounts. The game server cannot withdraw or transfer funds, eliminating counterparty risk.