Skip to content

aego888/StarLabs-MegaETH

 
 

Repository files navigation

StarLabs-MegaETH Bot 🚀

A powerful and flexible Ethereum Layer 2 automation tool with multiple features for MegaETH testnet activities.

TUTORIAL >>> star-labs.gitbook.io/star-labs/software/megaeth/ru <<< TUTORIAL >>> star-labs.gitbook.io/star-labs/software/megaeth/ru <<< TUTORIAL >>> star-labs.gitbook.io/star-labs/software/megaeth/ru <<<

🌟 Features

  • ✨ Multi-threaded processing
  • 🔄 Automatic retries with configurable attempts
  • 🔐 Proxy support
  • 📊 Account range selection
  • 🎲 Random pauses between operations
  • 🔔 Telegram logging integration
  • 📝 Detailed transaction tracking
  • 🧩 Modular task system

🎯 Available Actions:

  • Swaps:
    • Bebop Exchange Trading
    • GTE Exchange Trading
  • Faucets:
    • MegaETH Faucet
    • GTE Faucet
  • DeFi:
    • Teko Finance Staking
  • Applications:
    • Cap App (cUSD minting)
    • OnChain GM (NFT minting)
    • XL Meme (Meme token trading)

📋 Requirements

  • Python 3.11 or higher
  • Private keys for Ethereum wallets
  • (Optional) Proxies for enhanced security
  • Solvium API key for captcha solving
  • (Optional) Telegram bot token for logging

🚀 Installation

  1. Clone the repository:
git clone https://github.com/0xStarLabs/StarLabs-MegaETH.git
cd StarLabs-MegaETH
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure your settings in config.yaml
  2. Add your private keys to data/private_keys.txt
  3. (Optional) Add proxies to data/proxies.txt

📁 Project Structure

StarLabs-MegaETH/
├── data/
│   ├── private_keys.txt    # Ethereum wallet private keys
│   └── proxies.txt         # Proxy addresses (optional)
├── src/
│   ├── modules/            # Task-specific modules
│   └── utils/              # Helper utilities
├── config.yaml             # Main configuration file
└── tasks.py                # Task definitions

📝 Configuration

1. data files

  • private_keys.txt: One private key per line
  • proxies.txt: One proxy per line (format: http://user:pass@ip:port)

2. config.yaml Settings

SETTINGS:
  THREADS: 1                      # Number of parallel threads
  ATTEMPTS: 5                     # Retry attempts for failed actions
  ACCOUNTS_RANGE: [0, 0]          # Wallet range to use (default: all)
  EXACT_ACCOUNTS_TO_USE: []       # Specific wallets to use (default: all)
  SHUFFLE_WALLETS: true           # Randomize wallet processing order
  PAUSE_BETWEEN_ATTEMPTS: [3, 10] # Random pause between retries
  PAUSE_BETWEEN_SWAPS: [5, 30]    # Random pause between swap operations

3. Module Configurations

Swaps:

SWAPS:
  BEBOP:
    BALANCE_PERCENTAGE_TO_SWAP: [5, 10]  # Percentage range of balance to swap
    SWAP_ALL_TO_ETH: false                # Convert all tokens back to ETH

  GTE:
    BALANCE_PERCENTAGE_TO_SWAP: [5, 10]  # Percentage range of balance to swap
    SWAP_ALL_TO_ETH: true                # Convert all tokens back to ETH
    SWAPS_AMOUNT: [3, 5]                 # Number of swaps to perform

Staking:

STAKINGS:
  TEKO_FINANCE:
    CHANCE_FOR_MINT_TOKENS: 50           # Probability of minting tokens
    BALANCE_PERCENTAGE_TO_STAKE: [5, 10] # Percentage range to stake
    UNSTAKE: false                        # Enable unstaking

Minting:

MINTS:
  XL_MEME:
    BALANCE_PERCENTAGE_TO_BUY: [2, 5]    # Percentage of ETH to use for meme tokens
    CONTRACTS_TO_BUY: []                  # Specific token contracts to buy

🎮 Usage

Task Configuration

Edit tasks.py to select which modules to run:

TASKS = ["GTE_SWAPS"]  # Replace with your desired tasks

Available task presets:

  • FAUCET - Claim MegaETH tokens (captcha required)
  • CAP_APP - Mint cUSD
  • BEBOP - Trade on Bebop exchange
  • GTE_SWAPS - Trade on GTE exchange
  • TEKO_FINANCE - Stake on Teko Finance platform
  • ONCHAIN_GM - Mint GM NFTs
  • XL_MEME - Buy meme tokens
  • GTE_FAUCET - Claim tokens from GTE faucet

Custom Task Sequences

You can create custom task sequences combining different modules:

TASKS = ["MY_CUSTOM_TASK"]

MY_CUSTOM_TASK = [
    "faucet",                           # Run faucet first
    ("gte_swaps", "bebop"),             # Then run both in random order
    ["teko_finance", "xl_meme"],        # Then run only one randomly
]

Run the bot:

python main.py

📜 License

MIT License

⚠️ Disclaimer

This tool is for educational purposes only. Use at your own risk and in accordance with relevant terms of service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Batchfile 0.1%