Currency Exchange Rate Bot 💱
A Telegram bot for managing currency exchange rates with real-time Firebase synchronization.
🔐 Authentication System
Secure password-based authentication
Session management for authorized users
Automatic logout functionality
💹 Currency Management
Supported Currencies:
USD (Blue) - with rates display
USD (White) - with rates display
EUR - with rates display
GBP - rates on request
CNY - rates on request
RUB - with rates display
Real-time rate updates
Buy/sell rate validation
Historical update tracking
📊 User Interface
Interactive Telegram keyboard
Inline buttons for currency selection
Markdown-formatted messages
Russian language interface
🛠 Technology Stack Backend
Python 3.x - Core programming language
pyTelegramBotAPI - Telegram Bot API wrapper
Firebase Admin SDK - Real-time database
python-dotenv - Environment configuration
Database
Firebase Realtime Database - Cloud data storage
JSON structure for currency data
Automatic timestamp tracking
Security
Environment variable configuration
Password protection
Input validation
Error handling
#🔧 Installation & Setup Prerequisites
Python 3.8+
Telegram Bot Token
Firebase Service Account
Realtime Database URL