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 <<<
git clone https://github.com/0xStarLabs/StarLabs-MegaETH.git
cd StarLabs-MegaETH
pip install -r requirements.txt
config.yamldata/private_keys.txtdata/proxies.txtStarLabs-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 operations
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
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
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.
$ claude mcp add StarLabs-MegaETH \
-- python -m otcore.mcp_server <graph>