Telegram Bot for proxy sales
Main Functions of the Bot:
1) Multilingual Support
2) User Management:
- User registration and storage of their data in Google Sheets.
- Tracking user balance, number of purchased proxies, and registration date.
- Caching user data to improve performance and reduce database load.
3) Payment Processing:
- Support for balance top-up via cryptocurrency TRX and USDT.
- Integration with CoinGecko API to obtain the current TRX rate.
- Payment verification through TronScan API with automatic status updates in Google Sheets.
- Background process for checking pending payments and updating user balances after transaction confirmation.
4) Proxy Management:
- Providing users with the ability to purchase proxy servers by selected country.
- Displaying available proxies and their details, such as IP, port, username, and password.
- Tracking the validity period of proxies and providing information on the remaining days until expiration.
Technologies Used
Python: The main programming language for bot development.
Aiogram: Asynchronous framework for creating Telegram bots.
Google Sheets API: For storing and managing user and proxy data.
TronScan API: For checking transactions on the TRON blockchain.
CoinGecko API: For obtaining the current TRX rate.
Cachetools: For implementing caching of user and proxy data.
Logging: For detailed recording of bot actions and errors.
1) Multilingual Support
2) User Management:
- User registration and storage of their data in Google Sheets.
- Tracking user balance, number of purchased proxies, and registration date.
- Caching user data to improve performance and reduce database load.
3) Payment Processing:
- Support for balance top-up via cryptocurrency TRX and USDT.
- Integration with CoinGecko API to obtain the current TRX rate.
- Payment verification through TronScan API with automatic status updates in Google Sheets.
- Background process for checking pending payments and updating user balances after transaction confirmation.
4) Proxy Management:
- Providing users with the ability to purchase proxy servers by selected country.
- Displaying available proxies and their details, such as IP, port, username, and password.
- Tracking the validity period of proxies and providing information on the remaining days until expiration.
Technologies Used
Python: The main programming language for bot development.
Aiogram: Asynchronous framework for creating Telegram bots.
Google Sheets API: For storing and managing user and proxy data.
TronScan API: For checking transactions on the TRON blockchain.
CoinGecko API: For obtaining the current TRX rate.
Cachetools: For implementing caching of user and proxy data.
Logging: For detailed recording of bot actions and errors.