Skip to content

TonTon Bot is a script designed to automate certain tasks using multiple tokens and optional proxies.

Notifications You must be signed in to change notification settings

yanpaing007/TonTonBot

Repository files navigation

TonTon Bot

TonTon Bot is a script designed to tap nonstop for farming coins using multiple tokens and optional proxies. This bot supports multiple accounts and can run simultaneously.

Check out the bot here: TonTon Bot

  • Top 10 users can get up to $100 daily!!

Prerequisites

  • Python 3.7 or higher
  • pip (Python package installer)
  • git Git Download (if you want to easily update your code )(Without git every time your want to get latest version of code you have to manually download the zip file)

Setup

  1. Clone the repository:

    git clone https://github.com/yanpaing007/TonTonBot.git
    cd TonTonBot
    cp token-example.txt token.txt 
    copy token-example.txt token.txt #For windows
    cp proxy-example.txt proxy.txt
    copy token-example.txt token.txt #For windows
  • For token.txt enter your telegram bot query_id line by line for multi-account
  • For proxy.txt if you want to use proxy,set it true in config.json,and put your proxy in proxy.txt line by line.Get free proxy here free Webshare or Proxyscrape
  1. Create a virtual environment:

    python -m venv venv
  2. Activate the virtual environment:

    • Windows:

      venv\Scripts\activate
    • Mac/Linux:

      source venv/bin/activate
  3. Install the required packages:

    pip install -r requirements.txt
  4. Prepare configuration files:

    • config.json: Configuration file for the bot.
    • token.txt: File containing query_id, one per line.
    • proxy.txt: (Optional) File containing proxies, one per line.

Obtaining Tokens

To obtain the tokens required for token.txt, follow these steps:

  1. Open your browser and open TonTon game bot.
  2. Open Developer Tools:
    • Chrome: Press Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac).
    • Firefox: Press Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac).
  3. Paste this command in console(if it said paste not allowed type "allow pasting" without ""
copy(document.querySelector("iframe")?.src || "No iframe found.");

4.After typing above command paste it in the token.txt done

Running the Script

Windows

  1. Run the script using run.bat:

    run.bat

Mac/Linux

  1. Run the script using run.sh:

    ./run.sh

Configuration

Example configuration:

{
    "tap": 3, #Number of tap amount between 1 to 5 for safety purpose
    "use_proxy": true # If you want to use proxy set it true otherwise false
}

About

TonTon Bot is a script designed to automate certain tasks using multiple tokens and optional proxies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published