Skip to content

Hunga9k50doker/TomarketNew

Repository files navigation

Use Node.Js 18 or greater

Functionality

Functional Supported
Claiming daily reward
Claiming Farming reward
Claiming tasks
Starting Farming
Playing games
Multithreading
Binding a proxy to a session
Auto-purchase of items if you have coins (multitap, attempts)
Binding a proxy to a session/query_id
Random sleep time between clicks

[Settings]

Settings Description
API_ID / API_HASH Platform data from which to launch a Telegram session (stock - Android)
AUTO_PLAY_GAME Whether the bot play the games (True / False)
AUTO_CLAIM_DAILY_REWARD Whether the bot should claim the daily rewards (True / False)
AUTO_FARM Whether the bot should start and claim farming (True / False)
AUTO_TASKS Whether the bot should claim tasks (True / False)
AUTO_CLAIM_STARTS Whether the bot should claim stars (True / False)
AUTO_CLAIM_COMBO Whether the bot should claim combo (True / False)
SLEEP_BETWEEN_TAP Delay between taps in seconds (eg. 70)
DELAY_BETWEEN_STARTING_BOT Delay between starting in seconds (eg. [20, 30])
USE_PROXY_FROM_JS_FILE Whether to use proxy from the bot/config/proxies.js file (True / False)
USE_PROXY_FROM_TXT_FILE Whether to use proxy from the bot/config/proxies.txt file (True / False)

Installation

#Linux and MocOS ~/ToMarketBot >>> chmod +x check_node.sh ~/ToMarketBot >>> ./check_node.sh

OR

~/ToMarketBot >>> npm install ~/ToMarketBot >>> cp .env-example .env ~/ToMarketBot >>> nano .env # Here you must specify your API_ID and API_HASH , the rest is taken by default ~/ToMarketBot >>> node index.js

#Windows

  1. Double click on INSTALL.bat in ToMarketBot directory to install the dependencies
  2. Double click on START.bat in ToMarketBot directory to start the bot

OR

~/ToMarketBot >>> npm install ~/ToMarketBot >>> cp .env-example .env ~/ToMarketBot >>> # Specify your API_ID and API_HASH, the rest is taken by default ~/ToMarketBot >>> node index.js


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

```shell
~/ToMarketBot >>> node index.js --action=1

OR

~/ToMarketBot >>> node index.js --action=2

#1 - Create session
#2 - Run clicker