> For the complete documentation index, see [llms.txt](https://star-labs.gitbook.io/star-labs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://star-labs.gitbook.io/star-labs/monad/eng.md).

# ENG

https\://github.com/0xStarLabs/StarLabs-Monad

## ⚙️ Installation

#### Requirements:

* Python version 3.11.6 or higher

#### Downloading:

1 | Clone a repository

```powershell
git clone https://github.com/0xStarLabs/StarLabs-Monad.git
```

```powershell
cd StarLabs-Monad
```

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

```
python -m venv venv
```

```
venv\Scripts\activate
```

\
3 | Install dependencies

```powershell
pip install -r requirements.txt
```

4 | Start

```
python main.py
```

## 📁 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. \
\ <mark style="color:yellow;">Proxy format is user:pass\@ip:port. ONLY HTTP proxies are supported.</mark> \
\
discord\_tokens.txt - tokens of discord accounts. Optional, used only with official faucet function.\
emails.txt - emails. Supported emails firstmail.tld or gmx. Needed only for ThirdWeb faucet.<br>

## 📝 Config.yaml

Config is a file that stores all of the software settings. To edit the settings you need to run the bot, for that open up the console in the folder of your bot by writing the cmd in the path and pressing enter\
&#x20;

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FAsIgc0xUx2Oz4KrhWT9g%2Fimage.png?alt=media&amp;token=04bce431-ca32-4e49-b0d7-f2c9cab9bad8" alt=""><figcaption></figcaption></figure>

After that the console must show up. In it write the py main.py and press enter

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2F4Fqt9hf2xXN28CGekoTV%2Fimage.png?alt=media&amp;token=2f0daa04-800b-45c4-80e9-7abc07c1f2fb" alt=""><figcaption></figcaption></figure>

The tool must start&#x20;

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2F5d9NtxqEEQ1vgbGxrkda%2Fimage.png?alt=media&amp;token=963e47bc-3256-4967-8a28-81cdaeb79ba3" alt=""><figcaption></figcaption></figure>

To open the config enter it's number and press enter

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FyRwrs7bw0qjbmn4wvLDz%2Fimage.png?alt=media&amp;token=af6425de-38d8-43b5-a859-e63d18e46006" alt=""><figcaption></figcaption></figure>

this window should open up

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FfAp8xUs0bbvoLgIODHUq%2Fimage.png?alt=media&amp;token=edf5baa4-5a9c-42c8-aeef-c7c57aef1852" alt=""><figcaption></figcaption></figure>

THREADS - How many accounts to do simultaneously

ATTEMPTS - How many retries to do in case task fails

ACCOUNTS RANGE - you can specify the specific accounts you want to use, for example with 5 - 10 bot will only run accounts from 5 to 10

EXACT ACCOUNTS TO USE - you can specify the specific numbers of accounts like 5,10,12,92

PAUSE BETWEEN ATTEMPTS - pause between retries in case of a failed task\
RANDOM PAUSE BETWEEN ACCOUNTS - pause after one account finishes the job before starting the next one

RANDOM INITIALIZATION PAUSE - random pause before start of every account to make sure that all accounts will be started at different times

BROWSER PAUSE MULTIPLIER - you can multiply the browser wait time if the pages load to slow

TELEGRAN USERS IDS - ids of telegram accounts you want to send logs to

TELEGRAM BOT TOKEN - token of telegram bot that will send the logs to users

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FLAsohEqQiRXOmW1LxUsA%2Fimage.png?alt=media&amp;token=713270dc-7028-4378-b8b9-eb1e300fd63d" alt=""><figcaption></figcaption></figure>

AMOUNT TO REFUEL - means the random range of eth that the bot will use to buy monad using the protocol

MINIMUM BALANCE TO REFUEL - means that all accounts with the monad balance higher than that will be skipped

BRIDGE ALL - means bridge all of the balance&#x20;

BRIDGE ALL MAX AMOUNT - means the maximum balance you can let BRIDGE ALL  bridge, this is kind of a safety measure in case one of the wallets will have a big balance&#x20;

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FIa817xFjhYCURhT2qJod%2Fimage.png?alt=media&amp;token=2ba09a26-ad30-44ae-bb26-15f58b94bc2d" alt=""><figcaption></figcaption></figure>

You can withdraw funds from CEX to your wallets using this software, to do so create api keys on the exchange and put them there\
passphrase - password from account or an api key

MAX WALLET BALANCE - all accounts with balance higher than that will be skipped.&#x20;

### CHOOSING TASKS:

To switch the module, locate the file named `tasks.py` in the bot's folder. Open it using a code editor or a simple text editor. In this file, you'll find the variable `TASKS`, which looks like this:&#x20;

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FfQ2bLoBoZ8wvmApcT6As%2Fimage.png?alt=media&amp;token=064d4567-ad36-43f6-8fd1-765a3ecb1b1e" alt=""><figcaption></figcaption></figure>

TASKS is a list of presets, and a preset is a list of modules that the bot will execute.

Example of a preset containing a module

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2Ftj7ojB2TyCcUJzC5GykN%2Fimage.png?alt=media&amp;token=74cfc9d9-301c-48e2-86ad-63508036fb98" alt=""><figcaption></figcaption></figure>

You can create your own preset by simply giving it any name, for example: As you can see, FAUCET is just the name of the preset, which can be anything, while inside it, there's a "faucet" module responsible for the module that runs this function

You can create your own preset just by typing random name and square brackets&#x20;

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2Fmaj5ypx51PFZS3VXeLeS%2Fimage.png?alt=media&amp;token=cbdf77aa-6dea-4465-956a-890607f128fd" alt=""><figcaption></figcaption></figure>

Inside it, you can add the modules you want to use, for example, dusted:

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FyXzhy2JvhAveQR2WequP%2Fimage.png?alt=media&amp;token=6b146ccf-95b1-462f-bb29-b321fafb0126" alt=""><figcaption></figcaption></figure>

Then, to run this preset, copy its name and paste it into TASKS:

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FnVmXBDJQSLyUCxOYAA9D%2Fimage.png?alt=media&amp;token=cd573245-246e-4447-a875-0f99b5b29c04" alt=""><figcaption></figcaption></figure>

In the preset, you can use different types of randomization. For example, square brackets indicate that the bot will choose one module from those inside them, in our case either dusted

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2F229D2OQSpMLRhDxZZB5Z%2Fimage.png?alt=media&amp;token=2257542c-af91-4d0d-a438-6c70c2f18adb" alt=""><figcaption></figcaption></figure>

( ) brackets indicate that the bot will execute all modules inside them, but in random order

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2F4owoKBSamK7pVDtC7761%2Fimage.png?alt=media&amp;token=3f7d7d53-fdf6-4d44-bbe2-b5fb32156dc5" alt=""><figcaption></figcaption></figure>

You can create as many lines as you wish, just remember to use commas

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FlzaGNhunP3ORWPB0gUjP%2Fimage.png?alt=media&amp;token=c7165dd3-59ba-4c61-9c04-627d7dc97333" alt=""><figcaption></figcaption></figure>

## 💀 Faucet captcha settings

First of all you will need to register on the site and get a captcha solving key.

<mark style="background-color:yellow;">**You will need STICKY/STATIC proxies before you start setting up.**</mark>

Go to your proxy settings. \
We recommend using **shardproxy** - **<https://proxyshard.com?ref=starlabs>**.

Follow the instructions in the screenshot. We recommend selecting European countries. \
***It is also necessary to select:*** \ <mark style="background-color:yellow;">**Session: sticky**</mark> \ <mark style="background-color:yellow;">**Protocol: HTTP**</mark> \ <mark style="background-color:yellow;">**TTL: 600 (how often we will change IP in seconds)**</mark> \ <mark style="background-color:yellow;">**Format: user:pass\@ip:port**</mark>\
\
\ <mark style="color:yellow;">THE NUMBER OF PROXY LINES SHOULD BE NOT LESS THAN THE NUMBER OF PRIVATE KEYS!!</mark>\ <mark style="color:yellow;">THE NUMBER OF PROXY LINES SHOULD BE NOT LESS THAN THE NUMBER OF PRIVATE KEYS!!</mark>\ <mark style="color:yellow;">THE NUMBER OF PROXY LINES SHOULD BE NOT LESS THAN THE NUMBER OF PRIVATE KEYS!!</mark><br>

<figure><img src="https://1229326975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJi1Dnz98r18DXDpXAYS4%2Fuploads%2FzBRsIrs8FdKjYwPJtGy6%2Fmy.jpg?alt=media&amp;token=3109802b-76b8-4183-9b9d-a822d8af9383" alt=""><figcaption></figcaption></figure>

**Now you can move on to customizing the captcha.**

1. Go to this site and register <https://www.nocaptcha.io/register?c=SWVtru>
2. Go to the recharge tab of <https://www.nocaptcha.io/user/recharge> and recharge your balance in a convenient way.\ <mark style="background-color:yellow;">**ATTENTION! MINIMUM DEPOSIT 1 USDT!**</mark>
3. After recharging go to <https://www.nocaptcha.io/user/info> and there you will be able to copy your API key as shown on the screenshot.
4.

```
<figure><img src="/files/tRQvPV9o4eKcugZDqTKM" alt=""><figcaption></figcaption></figure>
```

5. Go to the config.yaml file and insert your API key. Example on the screenshot
6.

```
<figure><img src="/files/aQ5gNO0jzPDIcPSV2p8P" alt=""><figcaption></figcaption></figure>
```

7. After that, in tasks.py you can select faucet and run the bot.
8.

```
<figure><img src="/files/x5F4SUmcPtbvLgodhxJs" alt=""><figcaption></figcaption></figure>
```
