← All skills
Tencent SkillHub Β· Developer Tools

Megaeth Developer

End-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.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

End-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.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, frontend-patterns.md, gas-model.md, resources.md, rpc-methods.md, security.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

What this Skill is for

Use this Skill when the user asks for: Wallet setup and management on MegaETH Sending transactions, checking balances, token operations Token swaps via Kyber Network aggregator MegaETH dApp frontend (React / Next.js with real-time updates) RPC configuration and transaction flow optimization Smart contract development with MegaEVM considerations Storage optimization (avoiding expensive SSTORE costs) Gas estimation and fee configuration Testing and debugging MegaETH transactions WebSocket subscriptions and mini-block streaming Bridging ETH from Ethereum to MegaETH

Chain Configuration

NetworkChain IDRPCExplorerMainnet4326https://mainnet.megaeth.com/rpchttps://mega.etherscan.ioTestnet6343https://carrot.megaeth.com/rpchttps://megaeth-testnet-v2.blockscout.com

1. Transaction submission: eth_sendRawTransactionSync first

Use eth_sendRawTransactionSync (EIP-7966) β€” returns receipt in <10ms Eliminates polling for eth_getTransactionReceipt Docs: https://docs.megaeth.com/realtime-api

2. RPC: Multicall for eth_call batching (v2.0.14+)

Prefer Multicall (aggregate3) for batching multiple eth_call requests As of v2.0.14, eth_call is 2-10x faster; Multicall amortizes per-RPC overhead Still avoid mixing slow methods (eth_getLogs) with fast ones in same request Note: Earlier guidance recommended JSON-RPC batching over Multicall for caching benefits. With v2.0.14's performance improvements, Multicall is now preferred.

3. WebSocket: keepalive required

Send eth_chainId every 30 seconds 50 connections per VIP endpoint, 10 subscriptions per connection Use miniBlocks subscription for real-time data

4. Storage: slot reuse patterns

SSTORE 0β†’non-zero costs 2M gas Γ— multiplier (expensive) Use Solady's RedBlackTreeLib instead of Solidity mappings Design for slot reuse, not constant allocation

5. Gas: skip estimation when possible

Base fee stable at 0.001 gwei, no EIP-1559 adjustment Ignore eth_maxPriorityFeePerGas (returns 0) Hardcode gas limits to save round-trip Always use remote eth_estimateGas (MegaEVM costs differ from standard EVM)

6. Debugging: mega-evme CLI

Replay transactions with full traces Profile gas by opcode https://github.com/megaeth-labs/mega-evm

1. Classify the task layer

Frontend/WebSocket layer RPC/transaction layer Smart contract layer Testing/debugging layer

2. Pick the right patterns

Frontend: single WebSocket β†’ broadcast to users (not per-user connections) Transactions: sign locally β†’ eth_sendRawTransactionSync β†’ done Contracts: check SSTORE patterns, avoid volatile data access limits Testing: use mega-evme for replay, Foundry with --skip-simulation

3. Implement with MegaETH-specific correctness

Always be explicit about: Chain ID (4326 mainnet, 6343 testnet) Gas limit (hardcode when possible) Base fee (0.001 gwei, no buffer) Storage costs (new slots are expensive) Volatile data limits (20M gas after block.timestamp access)

4. Deliverables expectations

When implementing changes, provide: Exact files changed + diffs Commands to build/test/deploy Gas cost notes for storage-heavy operations RPC optimization notes if applicable

Progressive disclosure (read when needed)

Wallet operations: wallet-operations.md Frontend patterns: frontend-patterns.md RPC methods reference: rpc-methods.md Smart contract patterns: smart-contracts.md Storage optimization: storage-optimization.md Gas model: gas-model.md Testing & debugging: testing.md Security considerations: security.md Reference links: resources.md

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • frontend-patterns.md Docs
  • gas-model.md Docs
  • resources.md Docs
  • rpc-methods.md Docs
  • security.md Docs