Telegram Referral bot App
Turn one user into ten, on autopilot
This is the whole game loop that took play-to-earn apps to millions of users, as source you own. You get the React mini app, the Node.js API, the Telegram bot and a web admin panel — wired together, seeded with sample data and ready to deploy.
Energy regenerates per second on the server, so it cannot be faked from the client. Every action is validated against a signed session derived from Telegram initData, which rules out replay attacks and fabricated balances. Boosts, level curves and daily reward tables live in config files you can tune without touching business logic.
Ships with a multi-level referral engine, daily check-in streaks, a quest system that verifies Telegram channel joins on its own, and TON payment hooks for selling in-app boosts. The economy is yours to set: reward rates, caps and upgrade costs are all configurable.
Docker Compose for a one-command local run, plus step-by-step guides for putting the API on a VPS and the mini app on Vercel. Database migrations are included, as is a seed script so you can see the whole thing working before you change a line.
Complete, unobfuscated source for all four parts, the database schema, deployment guides and free lifetime updates. One purchase covers one commercial project.
Deployed this in a weekend and had 4,000 users by the following Friday. The anti-cheat alone saved me from the disaster my last build turned into.
Code is genuinely clean. Config-driven reward curves meant I could tune the economy without touching business logic.
Great package. Took me a bit to get Redis configured on my VPS but the guide covered it.
Turn one user into ten, on autopilot
Idle mining that brings players back every single day