Skip to content

A python telegram bot that auto farms coins in Tapswap.

Notifications You must be signed in to change notification settings

loguru-log/TapSwap

Repository files navigation

TapSwap

🔥 UPDATED VERSION 🔥

Functionality

Functional Supported
Multithreading
Binding a proxy to a session
Auto-completion of tasks🔥
Auto-purchase of items if you have coins (tap, energy, charge)
Random sleep time between clicks
Random number of clicks per request
Support tdata / pyrogram .session / telethon .session
Setting Description
API_ID / API_HASH Platform data from which to launch a Telegram session (stock - Android)
MIN_AVAILABLE_ENERGY Minimum amount of available energy, upon reaching which there will be a delay (eg 100)
SLEEP_BY_MIN_ENERGY Delay when reaching minimum energy in seconds (eg [1800,2400])
ADD_TAPS_ON_TURBO How many taps will be added when turbo is activated (eg 2500)
AUTO_TASK Automated task completion (True / False)
MAX_TASK_ITERATIONS Number of tasks per 1 cycle (напр. 4)
AUTO_UPGRADE_TAP Should I improve the tap (True / False)
MAX_TAP_LEVEL Maximum level of tap pumping (up to 20)
AUTO_UPGRADE_ENERGY Should I improve the energy (True / False)
MAX_ENERGY_LEVEL Maximum level of energy pumping (up to 20)
AUTO_UPGRADE_CHARGE Should I improve the charge (True / False)
MAX_CHARGE_LEVEL Maximum level of charge pumping (up to 5)
APPLY_DAILY_ENERGY Whether to use the daily free energy boost (True / False)
APPLY_DAILY_TURBO Whether to use the daily free turbo boost (True / False)
RANDOM_CLICKS_COUNT Random number of taps (eg [50,200])
SLEEP_BETWEEN_TAP Random delay between taps in seconds (eg [10,25])
USE_PROXY_FROM_FILE Whether to use proxy from the bot/config/proxies.txt file (True / False)

Quick Start 📚

  1. To install libraries on Windows click on INSTALL.bat.
  2. To start the bot use START.bat (or in console: python main.py).

Prerequisites

Before you begin, ensure you have the following installed:

Obtaining API Keys

  1. Go to my.telegram.org and log in using your phone number.
  2. Select "API development tools" and fill out the form to register a new application.
  3. Note down the API_ID and API_HASH in .env file provided after registering your application.

Installation

You can download Repository by cloning it to your system and installing the necessary dependencies:

~ >>> git clone https://github.com/loguru-log/TapSwap.git
~ >>> cd TapSwap

#Linux
~/TapSwap >>> python3 -m venv venv
~/TapSwap >>> source venv/bin/activate
~/TapSwap >>> pip3 install -r requirements.txt
~/TapSwap >>> cp .env-example .env
~/TapSwap >>> nano .env # Here you must specify your API_ID and API_HASH , the rest is taken by default
~/TapSwap >>> python3 main.py

#Windows
~/TapSwap >>> python -m venv venv
~/TapSwap >>> venv\Scripts\activate
~/TapSwap >>> pip install -r requirements.txt
~/TapSwap >>> copy .env-example .env
~/TapSwap >>> # Specify your API_ID and API_HASH, the rest is taken by default
~/TapSwap >>> python main.py

Also for quick launch you can use arguments, for example:

~/TapSwap >>> python3 main.py --action (1/2/3)
# Or
~/TapSwap >>> python3 main.py -a (1/2/3)

#1 - Create session
#2 - Run clicker
#3 - Run via Telegram