Skip to content

SP-l33t/Tomarket-Telethon

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

90 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Static Badge Static Badge

Recommendation before use

πŸ”₯πŸ”₯ PYTHON version must be 3.10 πŸ”₯πŸ”₯

πŸ‡· πŸ‡Ί README in russian available here

Features

Feature Supported
Multithreading βœ…
Proxy binding to session βœ…
Auto Referral of your accounts βœ…
Automatic task completion βœ…
Support for pyrogram .session βœ…
Auto farming βœ…
Automatic quest completion βœ…
Auto Daily Reward βœ…
Auto Claim Stars βœ…
Auto Claim Combo βœ…
Auto Rank Upgrade βœ…
Supports telethon AND pyrogram .session βœ…

Script searches for session files in the following folders:

  • /sessions
  • /sessions/pyrogram
  • /session/telethon
Settings Description
API_ID Your Telegram API ID (integer)
API_HASH Your Telegram API Hash (string)
GLOBAL_CONFIG_PATH Specifies the global path for accounts_config, proxies, sessions.
Specify an absolute path or use an environment variable (default environment variable: TG_FARM)
If no environment variable exists, uses the script directory.
FIX_CERT Try to fix SSLCertVerificationError ( True / False )
REF_ID Your referral id after startapp=
POINTS_COUNT Number of points per game (e.g., [450, 600])
AUTO_PLAY_GAME Automatically play games (True / False)
GAMES_PER_CYCLE Amount of games to play per cycle( [10, 30] )
AUTO_TASK Automatically complete tasks (True / False)
AUTO_DAILY_REWARD Automatically claim daily rewards (True / False)
AUTO_CLAIM_STARS Automatically claim star rewards (True / False)
AUTO_CLAIM_COMBO Automatically claim combo rewards (True / False)
AUTO_RANK_UPGRADE Automatically upgrade rank (True / False)
AUTO_AIRDROP_TASK Automatically perform Airdop Tasks (True / False)
AUTO_CLAIM_AIRDROP Automatically claim Airdrop (True / False)
AUTO_LAUNCHPAD_AND_CLAIM Automatically claim Launchpad (True / False)
AUTO_CONVERT_TOMA Automatically convert Toma into Stars (True / False)
MIN_BALANCE_BEFORE_CONVERT Min balance before converting Toma into Stars ([30000, 100000])
SESSION_START_DELAY Random delay at session start from 1 to set value (e.g. 30)
SESSIONS_PER_PROXY Amount of sessions, that can share same proxy ( 1 )
USE_PROXY_FROM_FILE Whether to use a proxy from the bot/config/proxies.txt file (True / False)
DISABLE_PROXY_REPLACE Disable automatic checking and replacement of non-working proxies before startup (True / False)
DEVICE_PARAMS Enter device settings to make the telegram session look more realistic (True / False)
DEBUG_LOGGING Whether to log error's tracebacks to /logs folder (True / False)

Quick Start πŸ“š

To fast install libraries and run bot - open run.bat on Windows or run.sh on Linux

Prerequisites

Before you begin, make sure 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. Record the API_ID and API_HASH provided after registering your application in the .env file.

Installation

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

git clone https://github.com/SP-l33t/Tomarket-Telethon-Telethon.git
cd Tomarket-Telethon

Then you can do automatic installation by typing:

Windows:

run.bat

Linux:

run.sh

Linux manual installation

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

You can also use arguments for quick start, for example:

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

# 1 - Run clicker
# 2 - Creates a session

Windows manual installation

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
# Here you must specify your API_ID and API_HASH, the rest is taken by default
python main.py

You can also use arguments for quick start, for example:

~/Tomarket-Telethon >>> python main.py --action (1/2)
# Or
~/Tomarket-Telethon >>> python main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

The code is partially taken from @yanpaing007. Big thanks β™₯

About

Made by Hidden Code. Python bot for Tomarket πŸ… telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.9%
  • Other 2.1%