Этот инструмент автоматизирует взаимодействие с различными функциями в сети, включая операции с токенами и смарт-контрактами.
This tool automates interaction with various functions in the network, including token operations and smart contracts.
"faucet"
— получение токенов из фаусета
Receive tokens from faucet"faucet_tokens"
— получение различных токенов
Receive different types of tokens
"storagescan_deploy"
— деплой контракта на StorageScan
Deploy a contract on StorageScan
"conft_mint"
— минт NFT и домена
Mint an NFT and domain
"swaps"
— свап токенов
Token swaps
- Python 3.11.6 или выше
Python 3.11.6 or higher
git clone https://github.com/neLNABR/0g-Auto.git
cd 0g-Auto
pip install -r requirements.txt
Измените параметры в config.yaml
Edit your configuration in config.yaml
data/private_keys.txt
— один приватный ключ на строку
one private key per linedata/proxies.txt
— один прокси на строку (формат:user:pass@ip:port
)
one proxy per line (format:user:pass@ip:port
)
Поддерживаются только HTTP прокси / Only HTTP proxies are supported
python main.py
В config.yaml
вы можете включить логирование в Telegram:
In config.yaml
you can enable Telegram log reporting:
SEND_TELEGRAM_LOGS: false # включение/выключение логов / enable/disable logs
TELEGRAM_BOT_TOKEN: "ваш_токен" # токен бота от @BotFather / bot token from @BotFather
TELEGRAM_USERS_IDS: [ваш_id] # Telegram ID получателей логов / list of Telegram user IDs
This tool is provided for educational and testing purposes only.
Use at your own risk. Any misuse, including abuse of the 0g network, may lead to penalties or blacklisting.
MIT