Skip to content

Desamod/GoblinMineBot

Repository files navigation

Static Badge

GoblinMine BOT

Recommendation before use

🔥🔥 Use PYTHON 3.10 🔥🔥

🇷 🇺 README in russian available here

Features

Feature Supported
Multithreading
Proxy binding to session
User-Agent binding to session
Support for pyrogram .session / telethon .session
Registration in bot
Auto-tasks support (only in Pro version)
Daily rewards (only in Pro version)
Claim referral rewards (only in Pro version)
Auto-mining
Expeditions support
Auto-purchase mines
Auto-upgrading mines
Night mode (only in Pro version)
Api change checker (only in Pro version)
Settings Description
API_ID / API_HASH Platform data from which to run the Telegram session (by default - android)
SLEEP_TIME Sleep time between cycles (by default - [3600, 7200])
START_DELAY Delay between sessions at start (by default - [5, 25])
AUTO_MINING Collecting rewards for mining (default - True)
AUTO_BUY_MINE Auto purchase mines (default - True)
AUTO_UPGRADE Enable auto-upgrades (default - True)
UPGRADE_MINE Auto-upgrade mines (default - True)
UPGRADE_MINERS Auto-upgrade miners (default - True)
UPGRADE_INVENTORY Auto-upgrade inventory (default - True)
UPGRADE_CART Auto-upgrade cart (default - True)
MAX_CART_LEVEL Max cart level for upgrade (default - 3)
EXPEDITIONS Auto-send expeditions (default - False)
CUSTOM_EXPEDITION_COST Custom price for expedition (default - 10000)
MIN_EXP_DURATION Minimum expedition duration (default - 360)
JOIN_CHANNELS Auto-join for tg channels tasks (default - False)
REF_ID Ref link for registration (charges % for using the bot)

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/Desamod/GoblinMineBot
cd GoblinMineBot

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:

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

# 1 - Run clicker
# 2 - Creates a session (pyrogram)
# 3 - Generate TON wallets

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:

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

# 1 - Run clicker
# 2 - Creates a session
# 3 - Generate TON wallets

Usages

When you first launch the bot, create a session for it using the 'Creates a session' command. It will create a 'sessions' folder in which all accounts will be stored, as well as a file accounts.json with configurations. If you already have sessions (pyrogram / telethon), simply place them in a folder 'sessions' and run the clicker. During the startup process you will be able to configure the use of a proxy for each session. User-Agent is created automatically for each account.

Here is an example of what accounts.json should look like:

[
  {
    "session_name": "name_example",
    "user_agent": "Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36",
    "proxy": "type://user:pass:ip:port"  # "proxy": "" - if you dont use proxy
  }
]

Contacts

For support or questions, you can contact me

Static Badge

About

Bot for GoblinMine telegram bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published