BlockRally

Telegram crypto bot with betting mechanics, admin tools, and PostgreSQL persistence

Project Overview

BlockRally is a TypeScript‑based Telegram bot that powers crypto mini‑games with configurable odds, bonuses, and leaderboards. It includes operational scripts for data cleanup, address inspection, and containerized PostgreSQL setup for fast local iteration.

Key Features

  • Betting game loops with configurable odds and payouts
  • User identity normalization and migration utilities
  • Admin scripts for bonus cleanup and address inspection
  • Containerized local Postgres with convenience scripts

Project Details

Duration

August 2025 - September 2025

Team Size

3 members

🏢

Company

Lampros Tech

👤

Role

Backend Developer

Technologies Used

Backend

Node.jsTypeScript

Database

PostgreSQL

Messaging

Telegram Bot API

Web3

Ethers.jsViem

Challenges

  • Ensuring fair game mechanics and avoiding exploits
  • Maintaining consistent user IDs and address mapping
  • Operating reliable storage for high‑frequency interactions

Solutions

  • Deterministic odds and capped payouts with server‑side validation
  • Data repair scripts for Telegram ID and address consistency
  • Dockerized Postgres with daily backup workflow

Key Achievements

  • Implemented core betting logic and payout handling
  • Built admin and maintenance scripts for data hygiene
  • Set up containerized Postgres for local and staging environments