0G (ENG)
📀 0G Guide
⚙️ Installation
Requirements
Python version 3.11.6 or higher
Download
Clone the repository:
Create and activate a virtual environment (optional but recommended):
Install dependencies:
Launch (after configuration):
📁 Setup (data folder)
Here you can find all user data necessary for work:
private_keys.txt
— private keys from wallets. 1 line = 1 key.proxies.txt
— proxy list. 1 line = 1 proxy. If there are fewer proxies than accounts, they will be repeated sequentially to match all accounts.Proxy format:
user:pass@ip:port
ONLY HTTP proxies are supported.
📝 Configuration (config.yaml
)
config.yaml
)This section details each function in the config.yaml
file. Most variables are self-explanatory from their names and comments, so only key ones are described here.
Main parameters:
Execution flow (FLOW
):
FLOW
):true
— the bot will skip a failed task and proceed with others.false
— the bot will stop and retry this task next time.
Editing the config via web interface
The config can be modified through config.yaml
or a web interface:
Start the bot with:
Select
[2] Edit config
in the menu.The config editor will open at:
http://127.0.0.1:3456
.By default, the bot will open this URL in your browser.
After making changes, click
Save Configuration
at the top right of the page.To exit:
Close the console or
Press
CTRL + C
several times.
▶️ Usage
Task setup
Before launching the bot, open the tasks.py
file in the main project folder and configure the execution order.
First run
Launch the bot:
Select
3
to open database settings.For the first run, select
1
(Create/Reset Database) to generate a database in thedata
folder. Action routes will be created for each key.This menu allows you to:
View remaining tasks,
Reset the database, etc.
Exit the menu with
6
and start the bot with1
.
Last updated