Software for working with the Layerless project. Supports multiple OKX accounts, multithreading, encrypts sensitive data, after encryption wallets can be started using only the wallet address (no need to re-enter data).
With the program, you can perform all the steps required to pass the testnet with just one run. Any number of accounts, proxies and multithreading are supported.
Modules
encrypt_privates_and_proxy
- module is necessary for the first launch of the software. Reads data from the tablewallet_data.xlsx
, encrypts and deletes sensitive data from the table. For repeated runs it is enough to specify only the wallet address, because the rest of the data is stored in encrypted form. If you want to add new data (add wallets or change proxies), you will need to use this module again.withdraw_okx
- module for withdrawing tokens from the OKX. Supports checking the balance on the wallet to avoid withdrawing money in case it is already in the chaintestnet_bridge
- make swap from ETH (Arbitrum, Optimism) to Goerli ETH (LayerZero)get_steth
- make swap from Goerli ETH to stETH.stake_steth
- deposit stETH to Layerless protocolunstake_steth
- unstake stETH from Layerless protocolcustom_routes
- module for customizing your own route. Use cases: [withdraw_okx, testnet_bridge, get_steth, stake_steth, unstake_eth] for first entry project, or [testnet_bridge, get_steth, automatic_routes] to run the script for many days ahead.automatic_routes
- module for automatic route building. You can customize the number of required transactions, you can add skipping some transactions (if you want to skip some day). You can configure delays between transactions. You can control the probability of making cheap transactions and expensive ones.
git clone https://github.com/rgalyeon/Layerless.git
cd Layerless
python -m venv venv
source venv/bin/activate (on MacOs) or .\venv\Scripts\activate (on Windows)
pip install -r requirements.txt
name
- name of wallet (optional field)address
- wallet addressprivate
- private keyproxy
- proxy, if used for wallet in the formatlogin:pass@ip:port
(optional field)okx_api
- api okx account in the formatapi;secret;password
(you can customize okx api for each wallet) (optional field)
- Run script with
python main.py
command and chooseEncrypt private keys and proxies
- Set up a password to access the data
- Set up general settings in
settings.py
(thread_count, retry_count, etc...) - Set up modules settings in
module_settings.py
- Add the wallet addresses you want to run to the
wallet_data.xlsx
file (only wallet addresses are needed after encryption) - Run script with
python main.py
command and choose necessary module.
- Author | Tradium Community
- Buy me a coffee:
rgalyeon.eth