ThePrime is a gamified reward system built for Telegram. Users complete tasks to earn points and redeem them for digital goods like Telegram Stars or Telegram Premium, delivered via direct integration with Fragment.
All tasks are based on either TON transfers or advertiser-sponsored actions. The system is deeply integrated with the TON blockchain and optimized for performance and minimalism — both in backend logic and frontend load.
The full user flow and interface design are available in Figma and Notion:
v1.23.3
Yarn
)ThePrime uses a microservice architecture consisting of:
api
— Scalable HTTP API serving frontend and bot requests.worker
— Handles business logic: task verification, PostgreSQL access, and TON blockchain interactions. Scales via configurable goroutines.webhook
— Captures all webhook calls and pushes them into NATS to ensure reliable delivery across services.support
— Separate Telegram-based support service for user assistance.All user-facing tasks are one of two types:
docker compose -f compose.local.yml up -d
export CONFIG=$(cat ../../config.local.api.yml)
Our amazing designer Anna Gordeeva:
[email protected]
Full development (backend/frontend/deploy) by me:
[email protected]