megaethEnd-to-end MegaETH development playbook (Feb 2026). Covers wallet operations, token swaps (Kyber Network), eth_sendRawTransactionSync (EIP-7966) for instant receipts, JSON-RPC batching, real-time mini-block subscriptions, storage-aware contract patterns (Solady RedBlackTreeLib), MegaEVM gas model, WebSocket keepalive, bridging from Ethereum, and debugging with mega-evme. Use when building on MegaETH, managing wallets, sending transactions, or deploying contracts.
Install via ClawdBot CLI:
clawdbot install 0xGuardbot/megaethUse this Skill when the user asks for:
| Network | Chain ID | RPC | Explorer |
|---------|----------|-----|----------|
| Mainnet | 4326 | https://mainnet.megaeth.com/rpc | https://mega.etherscan.io |
| Testnet | 6343 | https://carrot.megaeth.com/rpc | https://megaeth-testnet-v2.blockscout.com |
eth_sendRawTransactionSync (EIP-7966) β returns receipt in <10mseth_getTransactionReceiptaggregate3) for batching multiple eth_call requestseth_call is 2-10x faster; Multicall amortizes per-RPC overheadeth_getLogs) with fast ones in same requestNote: Earlier guidance recommended JSON-RPC batching over Multicall for caching benefits. With v2.0.14's performance improvements, Multicall is now preferred.
eth_chainId every 30 secondsminiBlocks subscription for real-time dataeth_maxPriorityFeePerGas (returns 0)eth_estimateGas (MegaEVM costs differ from standard EVM)eth_sendRawTransactionSync β done--skip-simulationAlways be explicit about:
When implementing changes, provide:
Generated Mar 1, 2026
Develop a decentralized exchange or trading interface that leverages MegaETH's instant transaction receipts via eth_sendRawTransactionSync for near-instant trade confirmations. Integrate Kyber Network for token swaps and use WebSocket mini-block subscriptions to provide users with real-time market data and order updates, ensuring low-latency trading experiences.
Build an NFT marketplace on MegaETH that utilizes bridging from Ethereum to allow users to migrate assets. Optimize smart contracts with Solady's RedBlackTreeLib to reduce storage costs and implement efficient frontend patterns with React/Next.js for real-time updates on listings and sales.
Create a blockchain-based game requiring rapid transaction processing, such as a real-time strategy or betting game. Use MegaETH's stable base fee and hardcoded gas limits to minimize latency, and deploy storage-aware contract patterns to manage in-game assets efficiently while avoiding high SSTORE costs.
Implement a supply chain management dApp that tracks goods in real-time using MegaETH's WebSocket subscriptions for mini-block updates. Optimize RPC calls with Multicall for batching eth_call requests and ensure data integrity with storage slot reuse patterns in smart contracts to reduce operational costs.
Develop a dashboard for monitoring on-chain financial metrics, leveraging MegaETH's fast eth_call performance and JSON-RPC batching for efficient data aggregation. Use the mega-evme CLI for debugging transaction traces and provide real-time insights through frontend patterns that broadcast updates via a single WebSocket connection.
Offer consulting or SaaS tools that help developers optimize gas usage and transaction flows on MegaETH, leveraging insights from the gas model and storage patterns. Revenue is generated through subscription fees or pay-per-use analytics for dApps seeking cost reduction and performance improvements.
Provide infrastructure services that utilize MegaETH's WebSocket capabilities and mini-block subscriptions to deliver real-time blockchain data feeds to clients. Monetize by charging for API access, data volume, or premium features like historical analysis and custom alerts.
Develop and operate a bridging service that facilitates asset transfers from Ethereum to MegaETH, integrating with the skill's wallet operations and RPC configurations. Generate revenue through transaction fees, liquidity provisioning, or partnerships with dApps requiring seamless cross-chain functionality.
π¬ Integration Tip
Always hardcode gas limits and use eth_sendRawTransactionSync for instant receipts to minimize latency in transaction-heavy applications.
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.