SURGE





A Telegram-native prediction game: short crypto prediction rounds, rewards and referrals inside one Mini App.
- Platform
- Telegram Mini App · web
- My role
- Full Stack Developer
- I built
- Market data, chat, leaderboards
- Stack
- React · NestJS · PostgreSQL
The problem
Web3 apps are hard to start and easy to forget.
Traditional Web3 products suffer from high onboarding friction and weak repeat engagement. SURGE puts the game inside Telegram, where identity, distribution and notifications already exist, so people reach their first action sooner and come back through short loops.
- Open the app
- Claim or earn rewards
- Place predictions
- Return through timers or notifications
- Invite friends for referral rewards
Goals
Acquisition
Low-cost growth through Telegram's referral graph.
Retention
More daily sessions through layered reward loops.
Revenue
Turn engagement-only users into depositing, fee-paying users.
Economy
Balance the rewards paid out with ways to spend them.
Control
Tune the game quickly through admin controls and fraud monitoring.
What I built
Live market data, social features and production
I built real-time CoinGecko data fetching, chat, leaderboards, tasks and Twitter OAuth, owned the deployments, and resolved critical production issues at around 400K requests a day.
- Real-time crypto prices from CoinGecko
- Chat, leaderboards and tasks
- Twitter OAuth
- Deployments and production fixes at ~400K daily requests


How it works
Five layers, one loop.
- Telegram sign-in
- Instant account
01Onboarding and identity
Telegram sign-in sets up the account instantly, so first sessions don't drop off.
02Core engagement
Short prediction rounds, mining claims and daily streak rewards.
03Growth
Referral links with configurable rewards, plus win cards and deep links for sharing.
04Monetization
Prediction fees, sponsored tasks and campaigns, and premium boosts.
- Reward multipliers
- Missions
- Campaigns
- Fraud checks
05Governance and risk
Admin controls for reward multipliers, missions and campaigns, with fraud checks against bots and sybil accounts.
Spotlight · Risks and controls
Keeping the game economy honest.
- Bots and sybil accounts: device fingerprinting, behaviour scoring and gated rewards
- Token inflation: dynamic emission controls and stronger sinks
- Regulation: geofencing, policy enforcement and compliance-ready logging
- Whale concentration: more ways for mid-tier users to take part


Impact
A Telegram-native product can bring distribution, engagement and monetization together in one operating model.
Growth
Referrals inside Telegram reduced reliance on paid acquisition.
Engagement
Layered reward and gameplay loops brought people back more often.
Revenue
Prediction fees and sponsored modules opened scalable paths to revenue.
Under the hood
Containers on Kubernetes, watched end to end.
- Telegram Mini App and web client
- PostgreSQL
- Redis cache
- S3-compatible object storage
- Docker containers on Kubernetes
- Development, staging and production environments
- NGINX Ingress Controller
- TLS from cert-manager and Let's Encrypt
- Prometheus and Grafana monitoring
- Sentry error tracking
- Alerts on API latency, failed transactions and sync delays
- Idempotent transactions, retry queues and rate limiting