ENG
https://github.com/0xStarLabs/StarLabs-MegaETH
⚙️ Installation
Requirements:
Python version 3.11.6
Downloading:
1 | Clone a repository
2 | Create a virtual environment
3 | Install dependencies
4 | Start (after customization)
📁 Preparation (data folder)
Here you can find all user's data necessary for work.
private_keys.txt
- private keys from wallets. 1 line = 1 key.
proxies.txt
- proxies. 1 line = 1 proxy, or if there are less proxies than accounts, then they will be repeated one after another to be enough for all accounts. The format of proxies is user:pass@ip:port. ONLY HTTP proxies are supported.
📝 Config.yaml
В этой секции будет написано детально про каждую функцию в файле config.yaml
.
The config can be customized either through a text document in the config.yaml file or through the web interface (example in the screenshot below).
In case the web config from the menu doesn't work for some reason, you can always edit it manually in the config.yaml file. You can also contact us in chat https://t.me/StarLabsChat for help.
To start the web interface you need to run the bot with the command python main.py and select the menu item [2] Edit config.
After that the bot will launch the config at URL http://127.0.0.1:3456, which you can open in any browser on your PC and customize the config from there. By default, the bot itself opens a web browser with the desired URL.
This config and website is launched and runs locally on your PC.
After configuring the functions in the config, click the Save Configuration button in the top right corner of the page.
To exit the config, go back to the console and press CTRL + C several times, or just close the console.
💾 Database
All work in the bot is managed directly through the database. The database is created and stored in the /data folder under the name accounts.db. You can open it manually through special programs for SQL like DB Browser for SQLite.
To start working and create a database you need to run the bot with the command python main.py
and select the menu item [3] 💾 Database actions. Next I will describe each of the functions.
[1] 🗑 Create/Reset Database. The most basic function that creates a new database or overwrites an existing one. It should be used when you start the bot for the first time, or when you want to overwrite wallets, proxies, or tasks for wallets. [2] ➕ Generate New Tasks for Completed Wallets. Used to generate new tasks for wallets that have completed their previous tasks. Example: it may be that some of your wallets have completed all the actions, but some of them still have unfinished tasks. In order not to overwrite ALL tasks and give part of the wallets a chance to finish their chain, you can select this feature and it will update tasks only for wallets that don't already have tasks. [3] 📊 Show Database Contents. Displays the contents of the database. Wallets, proxies, tasks, etc. [4] 🔄 Regenerate Tasks for All Wallets. Regenerates tasks for ALL wallets in the database.
[5] 📝 Add Wallets to Database. Adds new wallets to the database. For example, you have 10 wallets in your database, you insert new wallets in data/private_keys.txt and want to add them to the database. To avoid overwriting the entire database, you can use this function and it will simply add the new wallets to the database.
▶️ Usage
Before launching the bot, you need to open the tasks.py file in the main project folder and there customize the order of actions as shown in the example.
After that you can run the bot with the command python main.py
In the menu you should select 3 and then the database settings will be opened. For the first run press 1 (Create/Reset Database)
and the bot creates a database in the data folder. For each key will be generated routes of actions.
Also in this menu you will be able to look at the remaining tasks, recreate the database, etc.
Now you can exit the menu with button 6 and start the bot - 1.
✅ Tasks
Instructions on how to switch modules in the bot In order to switch a module, you need to find a file called tasks.py in the bot folder, open it with a code editor or a normal notepad, in the file you will see the TASKS variable that looks like this:
TASKS This is a list of presets, a preset is a list of modules that the bot will run. An example of a preset with a module inside it:
As you can see FAUCET is just the name of the preset, which can be anything you want, and inside it is the “faucet” module, which is responsible for starting the faucet. You can create your own preset just by writing any name for example:
Inside it you can add which modules you want to use example dusted, total:
Then to run a given preset, you copy its name and paste it into TASKS, total:
You can use different types of randomization in the preset. For example, square brackets will mean that the bot will choose one module from all the modules inside them, in our case either dusted or ambient
The parentheses mean that the bot will execute all the modules that are inside them, but in random order
You can create as many lines as you want, just don't forget to put a comma in it
Last updated