Telegram bot app for participating in pumps conducted by third-party telegram groups. The bot provides the functionality for accelerated purchase of a particular asset for authorized users (subscription system).
Pump - a scheme of manipulative price increases in the markets of securities, cryptocurrencies or other similar assets, followed by their strong collapse.
binanceBot_github.mp4
Completed ✓
- The logic of checking messages sent to telegram chat and placing orders among ready clients
- BinanceClient class, responsible for checking balance and placing order by market on the exchange
- The PumpDB class for working with the sqlite3 database and implementing the "Singleton" design pattern
- Pyrogram.Client class, responsible for parsing new channel messages
- TelegramBot class, responsible for implementing client || admin logics
- Python 3.11
- Aiogram 2.18
- Pyrogram 2.0.1
- Binance API
- SQLite 3
-
Clone the repository to the local machine
git clone https://github.com/Segfaul/crypto_pump_bot.git
-
Go to the repository directory
cd crypto_pump_bot
-
Create and activate a virtual environment
python -m venv env source env/bin/activate
-
Set project dependencies
pip install -r requirements.txt
-
Configure the configuration file cfg.json
nano cfg.json
-
Add your telegram account id to admins
"admins": [123]
-
Run the app logic in the background
python __init__.py &
-
In case of a problem, the program will stop automatically or you can stop execution using
ps aux | grep ".py" kill PID
Bot provides the functionality of the admin panel to allow access by third-party users (command -> /addsub).
Also, the internal logic of the database and telegram bot is divided into admin || client logic.