Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xStarLabs/STAR-LABS-LAYER-ZERO


https://github.com/0xStarLabs/STAR-LABS-LAYER-ZERO

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# STAR-LABS-LAYER-ZERO

## [SEE ENGLISH VERSION BELOW ](https://github.com/0xStarLabs/STAR-LABS-LAYER-ZERO#english-version)πŸ‘‡

## πŸ”— Links
[![Telegram channel](https://img.shields.io/endpoint?url=https://runkit.io/damiankrawczyk/telegram-badge/branches/master?url=https://t.me/StarLabsTech)](https://t.me/StarLabsTech)
[![Telegram chat](https://img.shields.io/endpoint?url=https://runkit.io/damiankrawczyk/telegram-badge/branches/master?url=https://t.me/StarLabsChat)](https://t.me/StarLabsChat)

πŸ”” CHANNEL: https://t.me/StarLabsTech

πŸ’¬ CHAT: https://t.me/StarLabsChat

πŸ’° DONATION EVM ADDRESS: 0x620ea8b01607efdf3c74994391f86523acf6f9e1

πŸ“– FULL TUTORIAL: https://teletype.in/@neon_rs/STAR_LABS_LAYER_ZERO

## πŸ€– | Π€ΡƒΠ½ΠΊΡ†ΠΈΠΎΠ½Π°Π»:
🟒 ВзаимодСйствиС с ΠΏΡ€ΠΎΡ‚ΠΎΠΊΠΎΠ»Π°ΠΌΠΈ: MERKLY, L2PASS, L2TELEGRAPH, ZERIUS

🟒 ΠŸΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° сурс сСтСй: Polygon, Celo, Klaytn, Moonriver, Moonbeam, Gnosis, Conflux

🟒 ПополнСниС балансов Ρ‡Π΅Ρ€Π΅Π· OKX

🟒 Установка ΠΏΡ€Π΅Π΄Π΅Π»ΡŒΠ½ΠΎΠΉ стоимости Π³Π°Π·Π° для ΠΊΠ°ΠΆΠ΄ΠΎΠΉ сСти

🟒 Π’Ρ‹Π±ΠΎΡ€ Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½Π° количСства Ρ‚Ρ€Π°Π½Π·Π°ΠΊΡ†ΠΈΠΉ.

🟒 Π›ΠΎΠ³ΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅ всСх дСйствий

🟒 Π’ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ Π΄Π΅Π»Π°Ρ‚ΡŒ Π°ΠΏΡ€ΡƒΠ²Ρ‹ Π½Π° Π½Π΅Π·Π½Π°Ρ‡ΠΈΡ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ суммы ΠΌΠ΅ΠΆΠ΄Ρƒ транзакциями Π»0 (Π°Π½Ρ‚ΠΈ-Sybil систСма).

🟒 ΠΡΠΈΠ½Ρ…Ρ€ΠΎΠ½Π½ΠΎΡΡ‚ΡŒ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΠΏΠΎΡ‚ΠΎΡ‡Π½ΠΎΡΡ‚ΡŒ. Запуск всСх Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚ΠΎΠ² ΠΎΠ΄Π½ΠΎΠ²Ρ€Π΅ΠΌΠ΅Π½Π½ΠΎ с Ρ€Π°Π·Π»ΠΈΡ‡Π½Ρ‹ΠΌ Π²Ρ€Π΅ΠΌΠ΅Π½Π΅ΠΌ Π·Π°Π΄Π΅Ρ€ΠΆΠΊΠΈ старта ΠΈ случайными ΠΈΠ½Ρ‚Π΅Ρ€Π²Π°Π»Π°ΠΌΠΈ ΠΌΠ΅ΠΆΠ΄Ρƒ транзакциями.

## πŸš€ Installation
```

# для Ρ€Π°Π±ΠΎΡ‚Ρ‹ Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ NodeJS!
# https://nodejs.org/en/download/current

git clone https://github.com/0xStarLabs/STAR-LABS-LAYER-ZERO.git

cd StarLabs-Discord

npm i
npm install -g typescript

Ссли ccxt Π½Π΅ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΠ»Π°ΡΡŒ с ΠΏΠ΅Ρ€Π²ΠΎΠ³ΠΎ Ρ€Π°Π·Π°
npm uninstall ccxt ( удаляСм Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΡƒ )
npm i --save-dev ccxt ( скачиваСм ΠΏΠΎ Π½ΠΎΠ²ΠΎΠΉ )

# ΠŸΠ΅Ρ€Π΅Π΄ Π½Π°Ρ‡Π°Π»ΠΎΠΌ Ρ€Π°Π±ΠΎΡ‚Ρ‹ настройтС Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΡ‹Π΅ ΠΌΠΎΠ΄ΡƒΠ»ΠΈ Π² Ρ„Π°ΠΉΠ»Π°Ρ… config.ts ΠΈ /data

npm start
```
## βš™οΈ Config

| Name | Description |
| --- | --- |
| protocols | Π² ΠΊΠ²Π°Π΄Ρ€Π°Ρ‚Π½Ρ‹Π΅ скобочки вставляСтС ΠΏΡ€ΠΎΡ‚ΠΎΠΊΠΎΠ»Ρ‹ с ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΌΠΈ Ρ…ΠΎΡ‚ΠΈΡ‚Π΅ Ρ‡Ρ‚ΠΎΠ±Ρ‹ скрипт взаимодСйствовал. По Π΄Π΅Ρ„ΠΎΠ»Ρ‚Ρƒ Π²ΠΊΠ»ΡŽΡ‡Π΅Π½Ρ‹ всС, Ссли Ρ…ΠΎΡ‚ΠΈΡ‚Π΅ Ρ‚Π°ΠΊ ΠΈ ΠΎΡΡ‚Π°Π²ΠΈΡ‚ΡŒ - Π½ΠΈΡ‡Π΅Π³ΠΎ Π½Π΅ Ρ‚Ρ€ΠΎΠ³Π°ΠΉΡ‚Π΅. На строчку Π²Ρ‹ΡˆΠ΅ Π΅ΡΡ‚ΡŒ памятка с ΠΈΡ… названиями. |
| networks | Π’ ΠΊΠ²Π°Π΄Ρ€Π°Ρ‚Π½Ρ‹Π΅ скобочки вставляСтС сСти ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ скрипт использовал. По Π΄Π΅Ρ„ΠΎΠ»Ρ‚Ρƒ Π²ΠΊΠ»ΡŽΡ‡Π΅Π½Ρ‹ всС, Ссли Ρ…ΠΎΡ‚ΠΈΡ‚Π΅ Ρ‚Π°ΠΊ ΠΈ ΠΎΡΡ‚Π°Π²ΠΈΡ‚ΡŒ ΠΌΠΎΠΆΠ½ΠΎ Π½ΠΈΡ‡Π΅Π³ΠΎ Π½Π΅ Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ. На строчку Π²Ρ‹ΡˆΠ΅ Π΅ΡΡ‚ΡŒ памятка с ΠΈΡ… названиями. |
| approve | Π‘Ρ‚Π°Π²ΠΈΡ‚Π΅ Π»ΠΈΠ±ΠΎ true Π»ΠΈΠ±ΠΎ false. Если true Π±ΡƒΠ΄Π΅Ρ‚ Π΄Π΅Π»Π°Ρ‚ΡŒ Π°ΠΏΡ€ΡƒΠ²Ρ‹ случайных Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ² для случайных ΠΏΡ€ΠΎΡ‚ΠΎΠΊΠΎΠ»ΠΎΠ² Π½Π° супСр ΠΌΠ΅Π»ΠΊΠΈΠ΅ суммы. Бмысл Π² Ρ‚ΠΎΠΌ, Ρ‡Ρ‚ΠΎΠ±Ρ‹ Π½Π΅ ΠΊΠΈΠ΄Π°Ρ‚ΡŒ ΠΎΠ΄Π½ΠΈ Ρ‚ΠΎΠ»ΡŒΠΊΠΎ Ρ‚Ρ€Π°Π½Π·Π°ΠΊΡ†ΠΈΠΈ Π»0 подряд. |
| exchange | withdraw: Π’Ρ‹Π±ΠΈΡ€Π°Π΅Ρ‚Π΅ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Π»ΠΈ Π±ΠΈΡ€ΠΆΡƒ Π² ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½ΠΎΠΉ exchange (true / false). Если false - Π±ΡƒΠ΄Π΅Ρ‚ Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ с Ρ‚Π΅ΠΌ, Ρ‡Ρ‚ΠΎ Π΅ΡΡ‚ΡŒ Π½Π° кошСлькС. Если true - ΠΏΡ€ΠΈ запускС Π²Ρ‹Π²Π΅Π΄Π΅Ρ‚ Π½Π°Ρ‚ΠΈΠ²ΠΊΡƒ Π² сСти, Π³Π΄Π΅ баланс Π½ΠΈΠΆΠ΅ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡŒΠ½Ρ‹Ρ… Π·Π½Π°Ρ‡Π΅Π½ΠΈΠΉ. (На окСкс Ρƒ вас Π΄ΠΎΠ»ΠΆΠ½Ρ‹ Π±Ρ‹Ρ‚ΡŒ ΠΌΠΎΠ½Π΅Ρ‚Ρ‹, Ρ‡Ρ‚ΠΎΠ±Ρ‹ ΠΈΡ… Π²Ρ‹Π²ΠΎΠ΄ΠΈΡ‚ΡŒ). Π‘ ΠΊΠ°ΠΊΠΈΠΌΠΈ сСтями ΠΈ ΠΏΡ€ΠΎΡ‚ΠΎΠΊΠΎΠ»Π°ΠΌΠΈ Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Ρ‚Π°ΠΊΠΆΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΡƒΠΊΠ°Π·Π°Ρ‚ΡŒ Π² ΠΊΠΎΠ½Ρ„ΠΈΠ³Π΅. Бсылка Π½Π° ΠΏΠΎΠ»Π½Ρ‹ΠΉ Π³Π°ΠΉΠ΄ Π½ΠΈΠΆΠ΅. Если Π²Ρ‹Π±Ρ€Π°Π»ΠΈ true, Ρ‚ΠΎ Ρ‚Π°ΠΊΠΆΠ΅ Π½ΡƒΠΆΠ½ΠΎ Π·Π°ΠΏΠΎΠ»Π½ΠΈΡ‚ΡŒ |
| OKX_API_KEY | Π°ΠΏΠΈ ΠΊΠ»ΡŽΡ‡ |
| OKX_SECRET_KEY | сСкрСтный ΠΊΠ»ΡŽΡ‡ (даСтся ΠΏΡ€ΠΈ Π³Π΅Π½Π΅Ρ€Π°Ρ†ΠΈΠΈ Π°ΠΏΠΈ ΠΊΠ»ΡŽΡ‡Π°) |
| OKX_PASSPHRASE | ΠΏΠ°Ρ€ΠΎΠ»ΡŒ ΠΎΡ‚ Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚Π° |
| amounts | Π”ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½ Ρ‚ΠΎΠ³ΠΎ, сколько ΠΌΠΎΠ½Π΅Ρ‚ Π²Ρ‹Π²ΠΎΠ΄ΠΈΡ‚ΡŒ для ΠΊΠ°ΠΆΠ΄ΠΎΠΉ сСти. МоТно Π½Π΅ Ρ‚Ρ€ΠΎΠ³Π°Ρ‚ΡŒ. ΠŸΡ€ΠΈ Ρ‚Π°ΠΊΠΈΡ… значСниях Ρ…Π²Π°Ρ‚Π°Π΅Ρ‚ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π½ΠΎ Π½Π° 100 Ρ‚Ρ€Π°Π½Π·. |
| maxGasPrice | максимальноС количСство Π³Π²Π΅ΠΉ ΠΏΡ€ΠΈ ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌ Π±ΡƒΠ΄Π΅Ρ‚ ΠΊΠΈΠ΄Π°Ρ‚ΡŒ Ρ‚Ρ€Π°Π½Π·Π°ΠΊΡ†ΠΈΠΈ Π² ΠΎΠΏΡ€Π΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠΉ сСти, Ссли Π² ΠΎΠ΄Π½ΠΎΠΉ ΠΈΠ· сСтСй Π³Π°Π· Π²Ρ€Π΅ΠΌΠ΅Π½Π½ΠΎ Π·Π°Π²Ρ‹ΡˆΠ΅Π½ Ρ‚ΠΎ ΠΏΡ€ΠΈ Π²Ρ‹Π±ΠΎΡ€Π΅ Π΅Ρ‘ Π½Π΅ Π±ΡƒΠ΄Π΅Ρ‚ ΡƒΡ‡ΠΈΡ‚Ρ‹Π²Π°Ρ‚ΡŒ Π΄ΠΎ Ρ‚ΠΎΠ³ΠΎ ΠΌΠΎΠΌΠ΅Π½Ρ‚Π°, ΠΊΠ°ΠΊ ΠΎΠ½ Π½Π΅ опустится Π½ΠΈΠΆΠ΅ ΠΏΡ€ΠΈΠ΅ΠΌΠ»ΠΈΠΌΡ‹Ρ… Π·Π½Π°Ρ‡Π΅Π½ΠΈΠΉ, Ссли Π²Π΅Π·Π΄Π΅ Π²Ρ‹ΡˆΠ΅ Ρ‚ΠΎ Π²Ρ‹Π±ΠΈΡ€Π°Π΅Ρ‚ ΡΠ»ΡƒΡ‡Π°ΠΉΠ½ΡƒΡŽ ΡΠ΅Ρ‚ΡŒ ΠΈ ΠΆΠ΄Π΅Ρ‚.|
| iterationRange | Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½ (ΠΎΡ‚ ΠΈ Π΄ΠΎ) Ρ‚Ρ€Π°Π½Π·Π°ΠΊΡ†ΠΈΠΉ, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ скрипт Π±ΡƒΠ΄Π΅Ρ‚ ΠΊΠΈΠ΄Π°Ρ‚ΡŒ Π½Π° ΠΊΠ°ΠΆΠ΄ΠΎΠΌ кошСлькС |
| initializationTime | сколько сСкунд Π±ΡƒΠ΄ΡƒΡ‚ Π·Π°ΠΏΡƒΡΠΊΠ°Ρ‚ΡŒΡΡ всС ΠΏΠΎΡ‚ΠΎΠΊΠΈ. К ΠΏΡ€ΠΈΠΌΠ΅Ρ€Ρƒ Ρƒ вас 100 Π°ΠΊΠΊΠΎΠ², Π²Ρ‹ ставитС 10000 сСкунд. Π‘ΠΎΡ‚ Π±ΡƒΠ΄Π΅Ρ‚ Π·Π°ΠΏΡƒΡΠΊΠ°Ρ‚ΡŒ Π² Ρ€Π°Π±ΠΎΡ‚Ρƒ ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ ΠΏΠΎΡΠ»Π΅Π΄ΡƒΡŽΡ‰ΠΈΠΉ Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚ Π² ΠΏΡ€ΠΎΠΌΠ΅ΠΆΡƒΡ‚ΠΊΠ΅ 50 - 200 сСкунд. |
| pause | Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½ сСкунд ΠΏΠ°ΡƒΠ·Ρ‹ ΠΌΠ΅ΠΆΠ΄Ρƒ ΠΊΠ°ΠΆΠ΄ΠΎΠΉ Π½ΠΎΠ²Ρ‹ΠΉ Ρ‚Ρ€Π°Π½Π·Π°ΠΊΡ†Π΅ΠΉ Ρƒ кошСлька. |
| privateKeysRandomMod | Ρ€Π΅ΠΆΠΈΠΌ Ρ€Π°Π½Π΄ΠΎΠΌΠΈΠ·Π°Ρ†ΠΈΠΈ ΠΏΡ€ΠΈΠ²Π°Ρ‚Π½Ρ‹Ρ… ΠΊΠ»ΡŽΡ‡Π΅ΠΉ. shuffle - ΠΏΠ΅Ρ€Π΅ΠΌΠ΅ΡˆΠΈΠ²Π°Π΅Ρ‚ ΠΏΡ€ΠΈ ΠΊΠ°ΠΆΠ΄ΠΎΠΌ запускС. order - ΠΈΠ΄Π΅Ρ‚ ΠΏΠΎ списку ΠΈΠ· ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄ Ρ‚Π°ΠΊΠΈΠΌ ΠΆΠ΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ΠΌ снизу, consecutive - просто ΠΈΠ΄Π΅Ρ‚ ΠΏΠΎ порядку. |
| order | НомСра ΠΏΡ€ΠΈΠ²Π°Ρ‚Π½Ρ‹Ρ… ΠΊΠ»ΡŽΡ‡Π΅ΠΉ ΠΏΠΎ ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΌ Π±ΡƒΠ΄Π΅Ρ‚ Π·Π°ΠΏΡƒΡΠΊΠ°Ρ‚ΡŒΡΡ скрипт, Ссли Π²Ρ‹ Π²Ρ‹Π±Π΅Ρ€Π΅Ρ‚Π΅ Ρ€Π΅ΠΆΠΈΠΌ order Π² privateKeysRandomMod. К ΠΏΡ€ΠΈΠΌΠ΅Ρ€Ρƒ Π²Ρ‹ ΡƒΠΊΠ°Π·Ρ‹Π²Π°Π΅Ρ‚Π΅ 1, 7, 2. Π‘ΠΊΡ€ΠΈΠΏΡ‚ сначала запустит кошСлСк 1, ΠΏΠΎΡ‚ΠΎΠΌ кошСлСк 7, ΠΏΠΎΡ‚ΠΎΠΌ кошСлСк 2. |

## πŸ—‚οΈ Data

Π”Π°Π½Π½Ρ‹Π΅ Π² ΠΏΠ°ΠΏΠΊΠ΅ data:

| Name | Description |
| --- | --- |
| private_keys.txt | ΠŸΡ€ΠΈΠ²Π°Ρ‚Π½Ρ‹Π΅ ΠΊΠ»ΡŽΡ‡ΠΈ |

## ENGLISH VERSION:

## πŸ€– | Functionality:

🟒 Interaction with protocols: MERKLY, L2PASS, L2TELEGRAPH, ZERIUS

🟒 Support for source networks: Polygon, Celo, Klaytn, Moonriver, Moonbeam, Gnosis, Conflux

🟒 Account top-up via OKX

🟒 Setting a maximum gas price for each network

🟒 Selection of transaction count range

🟒 Logging all actions

🟒 Ability to approve minor amounts between L0 transactions (anti-Sybil system)

🟒 Asynchrony and multithreading. Launching all accounts simultaneously with varying start delay times and random intervals between transactions

## πŸš€ Installation
```

# NodeJS is required!
# https://nodejs.org/en/download/current

git clone https://github.com/0xStarLabs/STAR-LABS-LAYER-ZERO.git

cd StarLabs-Discord

npm i
npm install -g typescript

if ccxt did not install on the first try
npm uninstall ccxt (remove the library)
npm i --save-dev ccxt (re-download)

# Before starting, configure the necessary modules in config.ts and /data files

npm start
```

## βš™οΈ Config

| Name | Description |
| --- | --- |
| protocols | Insert the protocols you want the script to interact with in square brackets. By default, all are enabled; if you want to leave it that way, do not touch anything. There's a reminder of their names above. |
| networks | nsert the networks the script used into square brackets. By default, all are enabled; if you want to leave it that way, do not touch anything. There's a reminder of their names above. |
| approve | Set either true or false. If true, it will approve random tokens for random protocols for tiny amounts. The idea is not to just send L0 transactions in a row. |
| exchange |Choose whether to use the exchange in the exchange variable (true / false). If false - will work with what is in the wallet. If true - at startup, it will withdraw native coins in the network where the balance is below the minimum values. (You must have coins on OKEX to withdraw them). Which networks and protocols to work with can also be specified in the config. Link to the full guide below. If you chose true, you also need to fill out |
| OKX_API_KEY | API key |
| OKX_SECRET_KEY | secret key (given when generating an API key) |
| OKX_PASSPHRASE | account password |
| amounts | The range of how many coins to withdraw for each network. Can be left as is. With such values, it's enough for about 100 transactions. |
| maxGasPrice | The maximum amount of gwei to send transactions in a certain network, if the gas is temporarily inflated in one of the networks it will not consider choosing it until it drops below acceptable values, if it's higher everywhere then it selects a random network and waits. |
| iterationRange | The range (from and to) of transactions the script will send on each wallet. |
| initializationTime | How many seconds all threads will start. For example, you have 100 accounts, you set 10000 seconds. The bot will start each subsequent account in the interval of 50 - 200 seconds. |
| pause | The range of seconds of pause between each new transaction in the wallet. |
| privateKeysRandomMod |Private key randomization mode. shuffle - shuffles each time it starts. order - follows the list from the variable of the same name below, consecutive - just goes in order. |
| order | Numbers of private keys by which the script will start, if you choose the order mode in privateKeysRandomMod. For example, you specify 1, 7, 2. The script will first start wallet 1, then wallet 7, then wallet 2. |

## πŸ—‚οΈ Data
Data in the data folder:
| Name | Description |
| --- | --- |
| private_keys.txt | Private keys |