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 <<<
- ✨ 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
- 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)
- 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
- Clone the repository:
git clone https://github.com/0xStarLabs/StarLabs-MegaETH.git
cd StarLabs-MegaETH
- Install dependencies:
pip install -r requirements.txt
- Configure your settings in
config.yaml - Add your private keys to
data/private_keys.txt - (Optional) Add proxies to
data/proxies.txt
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
private_keys.txt: One private key per lineproxies.txt: One proxy per line (format:http://user:pass@ip:port)
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 operationsSwaps:
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 performStaking:
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 unstakingMinting:
MINTS:
XL_MEME:
BALANCE_PERCENTAGE_TO_BUY: [2, 5] # Percentage of ETH to use for meme tokens
CONTRACTS_TO_BUY: [] # Specific token contracts to buyEdit tasks.py to select which modules to run:
TASKS = ["GTE_SWAPS"] # Replace with your desired tasksAvailable task presets:
FAUCET- Claim MegaETH tokens (captcha required)CAP_APP- Mint cUSDBEBOP- Trade on Bebop exchangeGTE_SWAPS- Trade on GTE exchangeTEKO_FINANCE- Stake on Teko Finance platformONCHAIN_GM- Mint GM NFTsXL_MEME- Buy meme tokensGTE_FAUCET- Claim tokens from GTE faucet
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
]python main.py
MIT License
This tool is for educational purposes only. Use at your own risk and in accordance with relevant terms of service.