Skip to content

cucumber-pickle/majorCum

Repository files navigation

Major Bot

A Python bot for interacting with the Major Telegram Bot API. This bot can perform various tasks such as checking in, managing tasks, holding coins, spinning, and retrieving user information.

TELEGRAM CHANNEL

Updates

  • 09.10.24 A non-working date is added to http.log

Register

To use this bot, you need to register it with the Major Telegram Bot.

  1. Open the Major Telegram Bot
  2. Click on the "Start App" or "Open App" button
  3. Install This Major Telegram Bot
  4. Have Fun

Features

  • Puzzle: Semi-automatic Solve Durov Puzzle NEW add puzzle number its the " BOX NUMBER " to puzzle.txt separated with (,) coma eg: 8,1,14,11
  • Check In: Automatically check in and increase the visit count.
  • Task Management: Retrieve and complete daily tasks.
  • Coin Holding: Play the hold coin game with a random amount.
  • Spin: Spin the roulette and handle various responses.
  • Swipe Coin: Swipe coin on the screen and claim coin rewards.
  • User Info: Retrieve user information including balance and position.

Requirements

  • Python 3.10+

Installation

  1. Clone the repository

    git clone https://github.com/cucumber-pickle/majorCum.git
  2. Navigate to the project directory

    cd majorCum
  3. Create a virtual environment (optional but recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  4. Install dependencies

    pip install -r requirements.txt

Configuration

  1. Create a config.json file

    The config.json file should be in the root directory of the project. Here is a sample configuration:

    {
    "use_proxy": false,
    "auto_complete_task": false,
    "auto_play_game": false,
    
    "min_point_holdcoin": 800,
    "max_point_holdcoin": 915,
    "min_point_swipecoin": 1000,
    "max_point_swipecoin": 2300,
    
    "min_game_delay": 5,
    "max_game_delay": 15,
    "account_delay": 5,
    "wait_time": 3600,
    "data_file": "data.txt"
    }
    
    
    • auto_complete_task: Whether to automatically complete tasks.
    • auto_play_game: Whether to automatically play the All Game.
    • account_delay: Delay between processing each account (in seconds).
    • wait_time: Delay between processing all accounts (in seconds).
    • game_delay: Delay between processing for Each Game (in seconds)
    • data_file: File containing account data.
  2. Create a proxies.txt file

    The proxies.txt file should be in the root directory and contain a list of proxies in the format username:password@host:port.

    Example:

    user1:pass1@ip1:port1
    user2:pass2@ip2:port2
    
  3. Create a data.txt file

    The data.txt file should be in the root directory and contain one account per line.

    Example:

    query1
    query2
    

Usage

To run the bot, execute the following command:

python bot.py

How to get tgWebAppData (query_id / user_id)

  1. Login telegram via portable or web version
  2. Launch the bot
  3. Press F12 on the keyboard
  4. Open console
  5. Сopy this code in Console for getting tgWebAppData (user= / query=):
copy(decodeURIComponent(sessionStorage['telegram-apps/launch-params']).split('tgWebAppData=')[1].split('&tgWebAppStartParam')[0])
  1. you will get data that looks like this
query_id=AA....
user=%7B%22id%....
  1. add it to data.txt file or create it if you dont have one

This bot helpfull? Please support me by buying me a coffee:

0xc4bb02b8882c4c88891b4196a9d64a20ef8d7c36 - BSC (BEP 20)

UQBiNbT2cqf5gLwjvfstTYvsScNj-nJZlN2NSmZ97rTcvKz0 - TON

0xc4bb02b8882c4c88891b4196a9d64a20ef8d7c36 - Optimism

THaLf1cdEoaA73Kk5yiKmcRwUTuouXjM17 - TRX (TRC 20)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For questions or support, please contact CUCUMBER TG CHAT

Releases

No releases published

Packages

No packages published

Languages