Telegram Star Payment Bot Script
Version
1.1
Source Code Included
Digital Delivery
Telegram Stars Balance Bot is a ready-to-deploy Telegram bot designed for selling or adding USD balance through Telegram Stars (XTR).
The bot includes a complete license-gated system powered by the RR Code Solutions licensing system. Users must provide a valid license key before accessing the bot.
⭐ Main Features
-
🔐 License Key Protection
- Requires a valid RR Code Solutions license
-
Product Code:
RRCS-BOT-000002 - License activation and validation through the RRCS licensing API
-
💰 Balance Top-Up
- Users select Add Balance
- Enter the desired USD amount
- Bot automatically calculates the required Telegram Stars
-
⭐ Configurable Stars Rate
- Admin can set the Stars rate directly from the bot
-
Example:
1 USD = 100 Stars
-
💳 Telegram Stars Payments
-
Supports Telegram Stars (
XTR) - Automatic invoice generation
- Balance is credited after successful payment
-
Supports Telegram Stars (
-
🛡️ Duplicate Payment Protection
- Uses Telegram's payment charge ID
- Prevents the same payment from being credited multiple times
-
⚙️ Admin Settings
- Set Stars-per-USD rate
- Set minimum deposit
- Set maximum deposit
-
👤 User Balance
- View current USD balance
- View total deposited amount
-
📊 Transaction Statistics
- Number of successful transactions
- Total USD credited
- Total Stars received
-
🗂️ JSON Database
- No MySQL required
- User balances, transactions, settings, and license information are stored in JSON files
-
🐍 Python Based
- Built with Python
- Easy to deploy on VPS or other Python-supported servers
- Easy to customize and extend
Perfect for
- Telegram Stars-based balance systems
- Digital service stores
- Telegram service panels
- Reseller platforms
- Bot-based payment systems
- Digital product/service marketplaces
Technology: Python • Telegram Bot API • Telegram Stars (XTR) • JSON • RR Code Solutions Licensing API