GithubHelp home page GithubHelp logo

segfaul / crypto_pump_bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 126 KB

Application for participating in pumps conducted by third-party telegram groups.

Python 100.00%
aiogram async binance binance-api python3 sqlite3

crypto_pump_bot's Introduction

Crypto Pump bot

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.


Video [usage example]

binanceBot_github.mp4

Project Status

Completed โœ“


Functionality

  • 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

Technologies and Frameworks

  • Python 3.11
  • Aiogram 2.18
  • Pyrogram 2.0.1
  • Binance API
  • SQLite 3

Installation

  1. Clone the repository to the local machine

    git clone https://github.com/Segfaul/crypto_pump_bot.git
  2. Go to the repository directory

    cd crypto_pump_bot
  3. Create and activate a virtual environment

    python -m venv env
    source env/bin/activate
  4. Set project dependencies

    pip install -r requirements.txt
  5. Configure the configuration file cfg.json

    nano cfg.json
  6. Add your telegram account id to admins

    "admins": [123]
  7. Run the app logic in the background

    python __init__.py &
  8. In case of a problem, the program will stop automatically or you can stop execution using

    ps aux | grep ".py"
    kill PID

Additional Information

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.


crypto_pump_bot's People

Contributors

segfaul avatar

Stargazers

 avatar Rafael Chasman avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.