Chezacash
Chezacash Risk & Operations Platform
Enterprise betting intelligence

Operate with full visibility across bets, ledger & risk

Unified CRM for fraud detection, immutable event ledger, exposure management and real-time bet reporting — built for regulated betting operations.

Live platform data flow
Checking…
Loading live flow…
Updated: — Ledger: — Rules: —
360°
Bet lifecycle view
Real-time
Fraud & alerts
Immutable
Event ledger
Fraud Detection
Rule engine with contextual alerts and player profiling
Bet Reporting
KPI dashboards, integrity flags and deep bet inspection
Ledger Rules
Cryptographic audit chain for every critical event
Risk Management
Exposure limits, approvals and hedging recommendations
SSO-ready access Multi-source sync Live workers
Admin v2

Welcome back

Sign in to your operations workspace

Authorized personnel only.

© 2026 Dinca Dumitru Alexandru. All rights reserved.

CRM designed and developed by Dinca Dumitru Alexandru

acnid.al@gmail.com

Chezacash
Chezacash Risk & Operations CRM
Overview
Dashboard
Operations
Data Sync Bet Reporting Players
Rules & Detection
Ledger Rules Detection Rules Event Ledger
Risk & Alerts
Risk Management Alerts Inbox
Analytics
Analytics Reports
Administration
Email Groups User Management About Platform
System operational

© 2026 Dinca Dumitru Alexandru. All rights reserved.

CRM designed and developed by Dinca Dumitru Alexandru

acnid.al@gmail.com

Dashboard

Overview of betting operations

Total Exposure
KES 0.00
Loading...
Pending Approvals
0
Requires action
Active Rules
0
0 limit, 0 threshold
Fraud Alerts
0
0 critical
High-Risk Bets
0
Score ≥ 50
System Health
Healthy
Last sync: -

Platform Data Flow

Live
Loading live flow…
Updated: — Ledger: — Rules: — Nodes: —

Risk Management

KES 0.00
Total Exposure
0
Pending Approvals
0
Active Rules
0
High-Risk Bets

Recent High-Risk Bets

Detection & Fraud

0
Fraud Alerts
0
Critical Alerts
0
Open Investigations
0
Unresolved Alerts

Recent Fraud Alerts

Manual Wallet Adjustments

0
Total (30d)
0
Credits
0
Debits
0
Players

System Status

System Health
100%
All systems operational
Databases
Local Database
Checking...
Source DB (DigitalOcean)
Checking...
System Workers
Auto Sync Worker
Checking...
Wallet Integrity
Checking...
Odds Integrity
Checking...
Detection Rules
Checking...
Risk Detection
Checking...
Last updated: Loading...

Risk Management Workers

Operations Snapshot

—
Active players today
-
Modifications (24h)
-
Ledger events
-
Unalerted mods
-
Database size
-
Total records
-
API response
-
Worker health
-
Profiles: -
Bets: -
Winnings: -
Alerts: -
Last sync: -

Alert Queue 0

Quick Actions

Bet Risk Management

Comprehensive risk management system for betting operations

System Health & Workers Status

System Health
100%
All systems operational
Loading workers status...

Key Metrics

Total Exposure
KES 0.00
Loading...
Pending Approvals
0
Requires action
Active Rules
0
0 limit, 0 threshold
Active Events
0
With active bets
Active Players
0
With active bets
High-Risk Bets
0
Score ≥ 50

Exposure by Sport (Top 5)

Risk Score Distribution

Quick Actions

Recent High-Risk Bets

Bet ID Player Level Score Stake When
Loading...

Bet Risk Management Rules 0

Rule Name Type Bet Type Max Stake Max Win Max Odds Priority Status Triggered Actions
Loading bet limit rules...
Threshold Name Type Target ID Threshold Value Alert Level Auto Block Status Exceeded Actions
Loading exposure thresholds...

Exposure Monitoring Dashboard

0
Total Stake
0
Potential Payout
0
Exposure Amount
0
Active Bets
Event ID Sport Total Stake Potential Payout Exposure Bet Count Avg Stake Last Updated Actions
Loading exposure by events...
Sport ID Total Stake Potential Payout Exposure Bet Count Event Count Last Updated Actions
Loading exposure by sports...
Player ID Total Stake Potential Payout Exposure Bet Count Event Count Last Updated Actions
Loading exposure by players...
Metric Value Details
Loading cumulative exposure...

Bet Approval Workflow 0

0 selected
Bet ID Player ID Stake Odds Potential Win Risk Score Risk Level Violations Requested Actions
Loading pending approvals...

Hedging Recommendations 0

Event ID Sport ID Hedge Type Recommended Stake Recommended Odds Current Exposure Exposure After Hedge Risk Reduction Potential Profit Status Created Actions
Loading hedging recommendations...

Reporting & Analytics

Total Exposure
KES 0.00
Active Events
0
Active Players
0
Total Bets
0

Exposure by Event

Exposure by Sport

Top Events by Exposure

Event ID Exposure Bets Avg Stake
Loading...

Top Sports by Exposure

Sport ID Exposure Events Bets
Loading...

Top Players by Exposure

Player ID Total Exposure Bet Count Avg Stake Max Stake
Loading...

Risk Score Distribution

High-Risk Bets Breakdown

High-Risk Bets Analysis

Bet ID Player ID Risk Score Risk Level Stake Odds Risk Factors
Loading...

Profit/Loss by Sport

Performance Summary

Sport ID Total Stakes Total Payouts Net Profit/Loss Margin %
Loading...

Sync Status & Settings

Mirror sync (DO → PostgreSQL) and sync configuration

Mirror Sync (DO → PostgreSQL)

Copy tables 1:1 into local mirror schemas (no mapping). Use this for the new mirror architecture.

Sync Date Range

Backfill required. Database was truncated — auto-sync is paused. Choose how many days to import (30, 60, 90, or 120). Sync includes profiles, wallet tracking, odds, bets and winnings. After backfill, auto-sync runs every hour for the last hour.

Select how many days back to sync from DigitalOcean database:

Sync Player Profiles

Sync all player profiles from DigitalOcean identity-service

Profiles are automatically synced every 6 hours. Use this button to sync manually.

Sync Status

Last sync: Never

Auto-sync: Enabled (every 10 minutes)

Loading sync settings...

Sync Settings (DB)

Edit sync settings stored in the local database. Requires admin.

These DBs will be excluded from sync discovery.
Tables containing any of these keywords will be skipped.
Columns containing these keywords may be excluded in auto column detection.

Database Optimization

Archive Old Events

Archive events older than specified days

VACUUM Database

Optimize database and reclaim space

Monitor Database Size

Check database size and get alerts

Event Deduplication Settings

Configure intervals for skipping duplicate events (in minutes)

Deduplication History

Database Size Monitoring Thresholds

Configure warning and critical thresholds (in MB)

Database Management

Export Database

Export local database to SQL dump file

Truncate Database

Delete all data from local database. Auto-sync pauses until you run a backfill (Sync tab).

Keep Last 30 Days

Delete data older than 30 days

Keep Last 60 Days

Delete data older than 60 days

Keep Last 90 Days

Delete data older than 90 days

Database Statistics

View database size and record counts

Database Information

Loading database information...

System Services Status

Monitor all background workers and their status. Each worker shows its data source, last run time, interval, and statistics.

Loading system services status...

User Management

Manage admin users and access control

Platform Modules

Enable or disable sections of the admin. Disabled modules are hidden from the menu and dashboard.

Loading modules…

Admin Users

Email Group Role Login Email alerts Alert types Last Login Created Actions
Loading users...

Groups Management

Manage email groups and alert notification settings

Email Groups

Name Min Alert Level Max Alert Level Email Count Description Actions
Loading groups...

Bet Reporting

Investigate bets, winnings, integrity flags and ledger linkage

Total records
-
Total stake
-
Total winnings
-
Net P/L
-
Fraud flags
-
Modified
-
Bet ID Player Stake Win / Possible Net Status Type Integrity Source Date Actions
Loading...

Players

Player management and monitoring

Search & Filters

No filters applied
Loading players...
Player ID Name Phone Status Country Verified Bets Winnings Wallet Last activity Flags
Loading…

Alerts

Detection-rule alerts with player, transaction, and rule context

User Preferences

Theme

Choose how the dashboard looks. Themes are applied globally to all pages, components, and pop‑ups.

Modern Gradient
Default colorful theme
CRM
Business dashboard look
Clean B&W
Ultra clean black & white

General

Auto‑refresh, pagination and other behaviours already existente rămân neschimbate.

Analytics

Advanced analytics and insights

Active Players
0
New Players
0
Retention Rate
0%
Avg Lifetime Value
KES 0.00

Player Activity Over Time

Betting patterns analytics will be displayed here.

High Risk Players
0
Unusual Patterns
0
Modification Rate
0%

Risk Distribution

Event Ledger

Integrity timeline and fraud alerts — immutable hash chain audit trail

Loading metrics...
Loading integrity status...

Manual credits & debits (/adjustment)

When Type Player Amount (KES) Reason / description Operator Bet ref
Loading…

Integrity timeline

Loading event timeline...

Alert breakdown

Loading...

Fraud alerts

Loading fraud alerts...

Ledger Rules

Rules over mirror sources (schema.table) and reporting views

Ledger Rules

Total0
Enabled0
Disabled0
Detection0
ID Rule Name Type Priority Status Severity Created Actions
Loading rules...

Ledger rules documentation

Loading documentation...

Detection Rules

Scheduled rules over mirror sources (schema.table) and custom queries

Detection Rules 0

Rule Name Type Priority Alert Type Status Schedule Last Run Actions
Loading detection rules...

Email Configuration

Loading email configuration...

Detection rules documentation

Loading documentation...

Report Generation

Generate and export comprehensive reports

Quick Reports

Daily Summary

Generate daily summary report

Financial Summary

Generate financial summary report

Player Activity

Generate player activity report

Modifications

Generate modifications report

Irregularities

Generate irregularities report

Custom Report Builder

Report History

Report Title Format Size Generated Type Actions
Loading report history...

About

Project documentation and information

Project Overview

Chezacash Administration Dashboard is a comprehensive management tool designed for betting platform administration, fraud detection, and risk management.

© 2026 Dinca Dumitru Alexandru. All rights reserved.

CRM designed and developed by Dinca Dumitru Alexandru

acnid.al@gmail.com

Key Features:

  • Real-Time Monitoring: Live tracking of betting activities, wallet transactions, and odds modifications
  • Fraud Detection: Advanced detection rules and pattern analysis for identifying suspicious activities
  • Risk Management: Comprehensive risk scoring system with automated actions and investigation workflows
  • Financial Reporting: Detailed analytics and reporting for betting operations and revenue tracking
  • Player Management: Complete player profiles with risk assessment and activity monitoring
  • Network Analysis: Detection of account relationships and collusion patterns

Application Features & Functionalities

Core Modules

Dashboard

Futuristic real-time overview with:

  • Key metrics (Total Exposure, Pending Approvals, Active Rules, Fraud Alerts)
  • Quick stats (Bets/Hour, Revenue/Day, Active Events, Average Exposure)
  • System performance (Uptime, API Response Time, Database Performance, Worker Efficiency)
  • Risk Management & Detection overview
  • Worker status monitoring
  • Notifications center with badges
  • Recent high-risk bets and alerts
Bet Reporting

Comprehensive betting analytics including:

  • Detailed bet and winning records
  • Country-based filtering
  • Date range filtering
  • Export capabilities
  • Modification tracking
  • Real-time data from DigitalOcean
Players Management

Complete player profile management with:

  • Player search and filtering
  • Risk score display
  • Activity history
  • Account relationships
  • Detailed player information
  • Pagination and sorting
Alert Management

Alert system for:

  • Detection rule alerts
  • Alert prioritization
  • Alert filtering and search
  • Alert resolution tracking
  • Email notifications
Analytics & Insights

Deep analytics capabilities:

  • Player behavior analysis
  • Betting pattern analysis
  • Risk analysis
  • Trend identification
  • Statistical insights
Fraud Detection

Advanced fraud detection system:

  • Immutable event ledger
  • Fraud alert management
  • Detection rule configuration
  • Pattern analysis
  • Alert prioritization
Ledger Rules

Ledger validation rules for:

  • Rule configuration
  • Validation logic
  • Alert settings
  • Rule execution tracking
Detection Rules Management

Configurable detection rules with:

  • Custom SQL query execution
  • Query testing interface
  • Scheduled execution
  • Email alert configuration
  • Rule performance tracking
Reports

Report generation with:

  • Custom report builder
  • Multiple export formats
  • Scheduled reports
  • Report execution history
Sync Settings

Database synchronization management:

  • DigitalOcean database sync
  • Sync scheduling
  • Database optimization
  • Deduplication tools
  • Monitoring and logging
  • System status monitoring

Background Workers & Services

Auto Sync Worker

Automatically synchronizes data from DigitalOcean databases every 10 minutes. Tracks sync history and handles errors gracefully.

Wallet Integrity Worker

Monitors wallet transactions every 2 minutes for modifications, tracks integrity, and sends alerts when unauthorized changes are detected.

Odds Integrity Worker

Tracks betting odds modifications every 2 minutes, monitors odds integrity, and alerts on suspicious odds changes or patterns.

Risk Detection Worker

Runs comprehensive risk detection cycles every 5 minutes including multi-account detection, bonus abuse, velocity monitoring, and all pattern detection systems.

Exposure Calculation Worker

Calculates real-time exposure for active bets every 2 minutes. Updates BetExposure table and triggers alerts if thresholds are exceeded.

Risk Score Calculation Worker

Calculates multi-factor risk scores for new bets every minute. Stores scores in BetRiskScore table and triggers approval requests for high-risk bets.

Post-Bet Monitoring Worker

Re-validates active bets against current limits every 5 minutes. Flags suspicious bets, creates fraud alerts, and cancels critical violations.

Notification Polling Worker

Fetches new notifications every 30 seconds and creates Notification records for pending approvals, threshold exceedances, and critical alerts.

Detection Rules Worker

Checks for detection rules to execute every 30 seconds. Runs scheduled rules and triggers email alerts when conditions are met.

Email Alert System

Sends email alerts via Gmail SMTP when detection rules are triggered, fraud is detected, exposure thresholds exceeded, or critical alerts occur.

Automated Actions Worker

Executes automated actions based on configured rules, including account blocking, limiting, flagging, and KYC requests.

Worker Status Monitoring

Real-time monitoring of all background workers with status indicators, last run time, next scheduled run, and performance statistics. Available in Risk Management Dashboard.

Data Integrity & Monitoring

Wallet Transaction Tracking

Tracks all wallet transactions, detects modifications, and maintains an audit trail of all changes to wallet balances.

Odds Modification Tracking

Monitors all betting odds changes, tracks modifications, and alerts on suspicious odds manipulation patterns.

Profile Synchronization

Synchronizes player profiles from DigitalOcean database, ensuring local database is up-to-date with latest player information.

Bet Risk Management Tool

Comprehensive risk management system designed to reduce losses from risky bets, control exposure, detect suspicious patterns, and protect platform profitability. The system includes real-time exposure monitoring, automated risk scoring, betting limits management, hedging recommendations, and approval workflows.

✅ Stage 1 - Data Model & Core Infrastructure (COMPLETE)

Database Models

Complete data models for BetLimitRule, ExposureThreshold, BetExposure, BetRiskScore, HedgingRecommendation, and BetApproval with full CRUD API endpoints.

Background Workers

Exposure Calculation Worker (every 2 min), Risk Score Calculation Worker (every 1 min), Post-Bet Monitoring Worker (every 5 min), and Notification Polling Worker (every 30 sec).

Real-Time Exposure

Automatic calculation of exposure per event, sport, player, and cumulative exposure with real-time updates and threshold monitoring.

✅ Stage 2 - Exposure Monitoring System (COMPLETE)

Exposure Dashboard

Comprehensive dashboard with exposure by event, sport, player, and cumulative views. Real-time refresh, time range filters, and color-coded stat cards.

Exposure Thresholds

Configurable thresholds per event, sport, player, and cumulative with automatic alerts and email notifications when exceeded.

✅ Stage 3 - Betting Limits Management (COMPLETE)

Pre-Bet Validation

Validates bets against all enabled limit rules before placement. Checks max stake, max win, max odds, accumulator limits, and determines action (allow/flag/require_approval/block).

Post-Bet Monitoring

Continuously re-validates active bets against current limits. Flags violations, automatically cancels critical violations, and creates fraud alerts.

Rules Management

Complete CRUD interface for betting limit rules and exposure thresholds with enable/disable, priority system, and rule testing interface.

✅ Stage 4 - Risk Scoring System (COMPLETE)

Multi-Factor Risk Calculation

Comprehensive risk scoring (0-100) based on odds, stake, patterns, exposure, player history, and bet type. Stores detailed risk factors breakdown.

Risk-Based Actions

Automatic actions based on risk score: Allow (0-30), Flag (31-50), Require Approval (51-70), Block (71-100). Integrated with approval workflow.

✅ Stage 5 - Odds Management & Hedging (COMPLETE)

Hedging Recommendations

Automatic hedging recommendations when exposure exceeds thresholds. Shows potential profit, risk reduction percentage, and exposure after hedge. Accept/reject workflow.

✅ Stage 6 - Approval Workflow (COMPLETE)

Manual Approval System

Approval workflow for high-risk bets with detailed bet information, risk score breakdown, violation details, and approval notes. Bulk approve/reject functionality.

Notification System

In-app and email notifications for pending approvals, threshold exceedances, bet cancellations, and critical alerts. Real-time notification polling.

✅ Stage 7 - Reporting & Analytics (COMPLETE)

Exposure Reports

Daily exposure reports with summary statistics, charts, and data export (CSV). Exposure by event, sport, player, and cumulative views.

Risk Analysis Reports

Risk score distribution, high-risk bet breakdowns, risk factor analysis, and performance metrics with visualizations.

Performance Reports

Profit/loss by sport, overall performance summary, and profitability analysis with export capabilities.

✅ Stage 8 - UI/UX Implementation (COMPLETE)

Risk Management Dashboard

Consolidated dashboard with key metrics, charts, quick actions, recent high-risk bets, and system health indicators. Worker status monitoring widget.

Rule Testing Interface

Simulate bet validation against active rules. Test different bet scenarios (stake, odds, bet type) and see which rules would trigger.

Risk Detection System

Phase 1 - Core Detection Systems

Multi-Account Detection

Detects multiple accounts linked by phone, email, device, or IP address. Identifies account relationships and calculates risk scores based on connection patterns.

Bonus Abuse Detection

Monitors bonus usage patterns to identify fraudulent bonus claims, rapid bonus consumption, and suspicious bonus withdrawal patterns.

Velocity & Frequency Monitoring

Tracks betting velocity and frequency to detect unusual activity patterns, rapid betting sequences, and suspicious transaction rates.

Player Risk Profile

Comprehensive risk scoring system (0-100) that aggregates all risk factors into a single profile with automated flagging and alerting.

Phase 2 - Advanced Pattern Detection

Collusion Detection

Detects coordinated betting patterns, win-loss correlations, and circular betting between related accounts.

Arbitrage Detection

Identifies guaranteed profit scenarios, rapid odds changes, and cross-platform arbitrage opportunities.

Geographic Anomaly Detection

Detects impossible travel patterns, multiple location logins, country mismatches, and VPN/Proxy usage.

Behavioral Pattern Analysis

Analyzes unusual betting times, bet size variance, activity bursts, and deviation from normal player behavior.

Payment Pattern Analysis

Detects rapid deposit-withdrawal cycles, round amount patterns, and suspicious deposit velocity.

Phase 3 - Advanced Analytics

Device Fingerprinting

Identifies shared devices and creates relationship networks between accounts using the same device.

Win Rate Anomaly Detection

Compares actual vs expected win rates, detects statistical significance deviations, and identifies win/loss streaks.

Account Maturity Analysis

Tracks account age, first bet patterns, rapid progression from new to high-roller, and dormancy detection.

Betting Pattern Analysis

Analyzes bet size progression, bet type patterns, and market/odds selection behaviors.

Real-Time Monitoring

Live activity feed with auto-refresh for risk alerts and pattern detections, enabling immediate response.

Phase 4 - Automation & Intelligence

Automated Actions System

Configurable rules for automatic actions (block, limit, flag, KYC request) based on risk thresholds with enable/disable toggle.

Network Analysis

Detects network clusters of related accounts, calculates network metrics (density, centrality), and visualizes relationships.

Advanced Reporting

Custom report builder with multiple export formats, scheduled reports, and comprehensive analytics.

Risk Score History

Historical snapshots of risk scores with trend analysis and detailed breakdown visualization.

Investigation Workflow

Case management system with notes, timeline events, status tracking, and resolution documentation.

Technical Architecture

Backend

  • Framework: Python Flask
  • Database: SQLite (local) + PostgreSQL/MySQL (DigitalOcean sync)
  • ORM: SQLAlchemy
  • Background Workers: Threading-based workers for async tasks
  • API: RESTful API with JSON responses

Frontend

  • Framework: Vanilla JavaScript (ES6+)
  • Charts: Chart.js for data visualization
  • Styling: Custom CSS with responsive design
  • Icons: Font Awesome 6.5.1
  • Date Picker: Flatpickr

Key Features

  • Real-time data synchronization with DigitalOcean databases
  • Wallet and Odds integrity monitoring with modification tracking
  • Custom SQL query execution for detection rules
  • Email alerting system via Gmail SMTP
  • Comprehensive pagination and filtering across all modules
  • Theme customization (light/dark mode)

Developer Information

Dinca Alexandru

Project Designer & Developer

Contact:

acnid.al@gmail.com

Project Description:
This comprehensive betting administration dashboard was designed and developed by Dinca Alexandru to provide a complete solution for managing betting operations, detecting fraud, and managing risk in a betting platform environment. The system integrates multiple detection mechanisms, real-time monitoring, and automated actions to ensure platform integrity and prevent financial abuse.

System Status

System Status
Operational
Database
Connected
Risk Detection
Active
Automated Actions
Enabled

Database Statistics

Loading statistics...

© 2026 Dinca Dumitru Alexandru. All rights reserved.

CRM designed and developed by Dinca Dumitru Alexandru

acnid.al@gmail.com

Add New Group

Or type a custom name in the field above

Manage Group Emails

Email Status Actions
Loading emails...

Add New User

Password must be at least 8 characters
Select the group this user belongs to
Leave all unchecked = all types (within group min/max level). Group level is set under Groups Management.

Risk details

Manual adjustment

Player Details

Loading...

Reset Password

Password must be at least 8 characters

Add Email to Group

Edit Detection Rule

Exact text (e.g. > Ksh 50,000, > 30 transactions in 1h)

Edit Ledger Rule

Bet Details

Loading bet details...
Loading transaction information...
Loading tax information...
Loading detailed information...
Loading ledger information...