MegaETH (ENG)
⚙️ Installation
Requirements:
Python version 3.11.6
Download:
1 | Clone the repository
git clone https://github.com/neLNABR/MegaETH-Auto.git
cd MegaETH-Auto
2 | Create a virtual environment
python -m venv venv
venv\Scripts\activate
3 | Install dependencies
pip install -r requirements.txt
4 | Run (after setup)
python main.py
📁 Preparation (folder /data)
The /data
folder contains all user-related data required for operation:
private_keys.txt — private wallet keys, one key per line.
proxies.txt — HTTP proxies in the format
user:pass@ip:port
, one proxy per line. If fewer proxies than accounts, they will repeat in order.
📝 config.yaml
Detailed description of the main configuration parameters:
SETTINGS:
THREADS: 1 # Number of threads
ATTEMPTS: 5 # Retry attempts on errors
ACCOUNTS_RANGE: [0, 0] # Range of accounts to process
EXACT_ACCOUNTS_TO_USE: [] # Specific accounts to use (only works if RANGE = [0,0])
SHUFFLE_WALLETS: false # Shuffle accounts before each run
PAUSE_BETWEEN_ATTEMPTS: [0, 0] # Pause between retry attempts
PAUSE_BETWEEN_SWAPS: [0, 0] # Pause between swaps
RANDOM_PAUSE_BETWEEN_ACCOUNTS: [0, 0] # Pause between accounts
RANDOM_PAUSE_BETWEEN_ACTIONS: [0, 0] # Pause between tasks
RANDOM_INITIALIZATION_PAUSE: [0, 0] # Pause before each account starts
SEND_TELEGRAM_LOGS: false
TELEGRAM_BOT_TOKEN: ""
TELEGRAM_USERS_IDS: []
WAIT_FOR_TRANSACTION_CONFIRMATION_IN_SECONDS: 120
FLOW:
SKIP_FAILED_TASKS: false
FAUCET:
SOLVIUM_API_KEY: "" # https://t.me/solvium_crypto_bot
RPCS:
MEGAETH:
- "https://carrot.megaeth.com/rpc"
OTHERS:
SKIP_SSL_VERIFICATION: true
USE_PROXY_FOR_RPC: true
SWAPS:
BEBOP:
BALANCE_PERCENTAGE_TO_SWAP: [5, 10]
SWAP_ALL_TO_ETH: false
GTE:
BALANCE_PERCENTAGE_TO_SWAP: [5, 10]
SWAP_ALL_TO_ETH: true
SWAPS_AMOUNT: [3, 5]
STAKINGS:
EKO_FINANCE:
CHANCE_FOR_MINT_TOKENS: 0
BALANCE_PERCENTAGE_TO_STAKE: [5, 10]
UNSTAKE: true
MINTS:
XL_MEME:
BALANCE_PERCENTAGE_TO_BUY: [10, 20]
CONTRACTS_TO_BUY: []
You can configure via the web interface for convenience:
Run the bot:
python main.py
Choose
[2] Edit config
Open the URL
http://127.0.0.1:3456
in your browserAdjust settings and click Save Configuration
❗If the web config doesn't launch — edit config.yaml
manually. For help, join our chat: https://t.me/StarLabsChat
💾 Database
The accounts.db
file is automatically created in the /data
folder. Managed via menu [3] 💾 Database actions
:
Create/Reset Database
— create or reset the databaseGenerate New Tasks for Completed Wallets
— assign new tasks for completed walletsShow Database Contents
— display database infoRegenerate Tasks for All Wallets
— regenerate tasks for all walletsAdd Wallets to Database
— add new keys without overwriting existing data
▶️ Usage
Before running, configure the tasks.py
file to define task order.
Example:
TASKS = [
["faucet"],
["dusted"],
("ambient", "eko_finance")
]
Square brackets
[]
— pick one random moduleParentheses
()
— run all modules in random orderPreset names can be custom
Once configured:
Run the bot:
python main.py
In the menu, select
3
, then1
— to create the databaseGo back to the menu via
6
and start the bot with1
✅ Tasks
How to switch modules in the bot
To switch between modules, go to the bot’s folder and open the file named tasks.py using a code editor or a simple text editor. Inside the file, you’ll find the variable TASKS, which looks like this:

TASKS is a list of presets. A preset is a list of modules that the bot will execute.
Example of a preset containing a module:

As you can see, FAUCET is just the name of the preset — it can be anything you like. Inside it, there’s the module "faucet" responsible for running the faucet function.
You can create your own preset by simply giving it any name, for example:

Inside your preset, you can add whichever modules you want to use — for example, dusted. Result:

Затем чтобы запустить данный пресет, вы копируете его название и вставляете в TASKS, итого:

You can use different types of randomization within a preset. For example: Square brackets [] mean the bot will randomly pick one module from those inside them. In our case: it will pick either dusted or ambient.

Round brackets () mean the bot will run all the modules inside them, but in a random order.

You can create as many lines (presets) as you like — just don’t forget to put commas between them.

Last updated