megaeth-developer
End-to-end MegaETH development playbook (Feb 2026).
Skill by Trompetilla
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/trompetilla-megaeth-developer-1416b9
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
megaeth-developer- Description
- 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.
- License
- MIT
- Instructions
- 99 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "megaeth-developer" does not match folder "megaeth"
Files (12)
- README.md
- SKILL.md
- _meta.json
- frontend-patterns.md
- gas-model.md
- resources.md
- rpc-methods.md
- security.md
- smart-contracts.md
- storage-optimization.md
- testing.md
- wallet-operations.md
SKILL.md (first lines)
# MegaETH Development Skill ## 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 | 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` | ## Default stack decisions (opinionated) ### 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 ## Operating procedure ### 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](wallet-operations.md) - Frontend patterns: [frontend-patterns.md](frontend-patterns.md) - RPC methods reference: [rpc-methods.md](rpc-methods.md) - Smart contract patterns: [smart-contracts.md](smart-contracts.md) - Storage optimization: [storage-optimization.md](storage-optimization.md) - Gas model: [gas-model.md](gas-model.md) - Testing & debugging: [testing.md](testing.md) - Security considerations: [security.md](security.md) - Reference links: [resources.md](resources.md)
From Trompetilla/Skills, MIT.
More from Trompetilla/Skills
- 0.437score
bw-cli
Trompetilla
Securely interact with Bitwarden password manager via the bw CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-youtube
Trompetilla
YouTube SERP Scout for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-search
Trompetilla
Intelligent search for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
llm-router
Trompetilla
Unified LLM Gateway - One API for 70+ AI models.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
us-stock-analyst
Trompetilla
Professional US stock analysis with financial data, news, social sentiment, and multi-model AI.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
openclaw-media-gen
Trompetilla
Generate images & videos with AIsa.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
MarketPulse
Trompetilla
Query real-time and historical financial data across equities and crypto—prices, market moves, metrics, and trends for analysis, alerts, and reporting.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
Twitter Command Center (Search + Post)
Trompetilla
Search X (Twitter) in real time, extract relevant posts, and publish tweets/replies instantly—perfect for social listening, engagement, and rapid content ops.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Feb 5, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Trompetilla/Skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.439score
megaeth-developer
johnalbertini14-glitch
End-to-end MegaETH development playbook (Feb 2026).
SkillDFreshness: D★ 2Claude Code +9 - 0.257score
megaeth-developer
kbarbel640-del
End-to-end MegaETH development playbook (Feb 2026).
SkillDFreshness: D★ 1Claude Code +9 - 0.257score
megaeth-developer
kbarbel640-del
End-to-end MegaETH development playbook (Feb 2026).
SkillDFreshness: D★ 1Claude Code +9 - 0.257score
megaeth-developer
Trompetilla
End-to-end MegaETH development playbook (Feb 2026).
SkillDFreshness: D★ 1Claude Code +9
More from Trompetilla
- 0.437score
bw-cli
Trompetilla
Securely interact with Bitwarden password manager via the bw CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-youtube
Trompetilla
YouTube SERP Scout for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-search
Trompetilla
Intelligent search for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
llm-router
Trompetilla
Unified LLM Gateway - One API for 70+ AI models.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
us-stock-analyst
Trompetilla
Professional US stock analysis with financial data, news, social sentiment, and multi-model AI.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
openclaw-media-gen
Trompetilla
Generate images & videos with AIsa.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
megaeth-developer skill. Agent Mart. https://agentmart.dev/skills/trompetilla-megaeth-developer-1416b9 (last updated 2026-10-24)