This project tracks transactions on an EVM wallet and sends notifications to Telegram using Python for the backend and HTML/CSS/JavaScript for the frontend.
- HTML/CSS/JavaScript: Handles the frontend interface.
- Python: Manages backend processing, database interactions, and transaction tracking.
- Telegram: Sends notifications via Telegram bot.
- Open the
index.html
file in a web browser to view the frontend interface.
- Install Python if it is not already installed.
- Navigate to the project directory and create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
- Install the required dependencies:
pip install -r requirements.txt
- Set up the environment variables by creating a
.env
file in theconfig
directory with the following content:FLASK_APP=app.py DATABASE_URL=sqlite:///tracker.db TELEGRAM_BOT_TOKEN=your_telegram_bot_token
- Initialize the database:
flask db init flask db migrate -m "Initial migration." flask db upgrade
- Run the Python application:
flask run
- HTML/CSS/JavaScript provides a user interface for connecting a wallet, viewing recent transactions, and configuring Telegram notifications.
- Python processes the transaction data, interacts with the database, and sends notifications.
- Telegram bot sends notifications to the user's Telegram account for every transaction.