StarLabs
TelegramChatGitHub
  • 👋Welcome
  • Software
    • CampNetwork
      • RU
      • ENG
    • Somnia
      • RU
      • ENG
    • MegaETH
      • RU
      • ENG
    • 0G
      • RU
      • ENG
  • Monad
    • RU
    • ENG
  • Discord
    • RU
    • ENG
  • Twitter
    • RU
    • ENG
  • 👀Other
    • ⚠️Common errors + fixes
Powered by GitBook
On this page
  • ⚙️ Installation Requirements:
  • 📁 Setup (data folder)
  • 📝 Config.yaml
  • ▶️ Usage
  1. Software
  2. 0G

ENG

https://github.com/0xStarLabs/StarLabs-0G

⚙️ Installation Requirements:

Python version 3.11.6 or higher

Download:

1 | Clone the repository

git clone https://github.com/0xStarLabs/StarLabs-0G.git
cd StarLabs-0G

2 | Create and activate virtual environment (optional but recommended)

python -m venv venv
venv\Scripts\activate

3 | Install dependencies

pip install -r requirements.txt

4 | Launch (after configuration)

py main.py

📁 Setup (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. Proxy format is user:pass@ip:port. ONLY HTTP proxies are supported.

📝 Config.yaml

This section details each function in the config.yaml file. Most variables are self-explanatory from their names and comments above each one, so I'll describe only the main ones:

DISCORD_TOKEN_FOR_PARSIN

SEND_TELEGRAM_LOGS: false - enable logs in telegram

TELEGRAM_BOT_TOKEN: “12317283:lskjalsdfasdfasd-sdfadfasd” - Telegram bot token.
You can find it in BotFather.

TELEGRAM_USERS_IDS: [235123432] - IDs of TG accounts to send logs to.
FLOW

SKIP_FAILED_TASKS: false - whether to skip failed tasks or not. If it is true,
then the bot will go to do other tasks if the current one failed.
If false, then it will finish the job and start from this task another time.
>>> CAPTCHA
SOLVIUM_API_KEY: “x” - API key https://t.me/solvium_crypto_bot to solve the captcha.

USE_NOCAPTCHA: false - if you want to use nocaptcha.io/register?c=SWVtru, put true here.

NOCAPTCHA_API_KEY: “x” - API key nocaptcha.io/register?c=SWVtru.

After customizing 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.

▶️ 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 specified 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.

PreviousRUNextMonad

Last updated 2 months ago

The config can be customized both through a text document in the config.yaml file and through the web interface (example on the screenshot below). To start the web interface, start the bot with the command python main.py and select menu item [2] Edit config. After that the bot will launch the config by URL 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.

http://127.0.0.1:
Config example