{"id":"634440a7-7f9b-4c35-bd72-cb0a4b125b48","entityType":"agent","slug":"clawhub-skills-0xbreadguy-megaeth-ai-developer-skills","name":"megaeth-developer","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills","canonicalPath":"/agent/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills","generatedAt":"2026-10-09T12:39:30.991Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"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. --- 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 w","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"clawhub skill install skills:0xbreadguy:megaeth-ai-developer-skills","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/0xbreadguy/megaeth-ai-developer-skills","homepage":null,"primaryLinks":[{"label":"View on ClawHub","url":"https://github.com/openclaw/skills/tree/main/skills/0xbreadguy/megaeth-ai-developer-skills","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":50,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"End-to-end MegaETH development playbook (Feb 2026). Covers wallet operations, token swaps (Kyber Network), eth_sendRawTransactionSync (EIP-7966) for instant rec"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-28T15:28:24.221Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-28T15:28:24.221Z","lastIndexedAt":null,"nextCrawlAt":"2026-03-01T15:28:24.221Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install skills:0xbreadguy:megaeth-ai-developer-skills","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T12:39:30.991Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xbreadguy-megaeth-ai-developer-skills/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"---\nname: megaeth-developer\ndescription: 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.\n---\n\n# MegaETH Development Skill\n\n## What this Skill is for\nUse this Skill when the user asks for:\n- Wallet setup and management on MegaETH\n- Sending transactions, checking balances, token operations\n- Token swaps via Kyber Network aggregator\n- MegaETH dApp frontend (React / Next.js with real-time updates)\n- RPC configuration and transaction flow optimization\n- Smart contract development with MegaEVM considerations\n- Storage optimization (avoiding expensive SSTORE costs)\n- Gas estimation and fee configuration\n- Testing and debugging MegaETH transactions\n- WebSocket subscriptions and mini-block streaming\n- Bridging ETH from Ethereum to MegaETH\n\n## Chain Configuration\n\n| Network | Chain ID | RPC | Explorer |\n|---------|----------|-----|----------|\n| Mainnet | 4326 | `https://mainnet.megaeth.com/rpc` | `https://mega.etherscan.io` |\n| Testnet | 6343 | `https://carrot.megaeth.com/rpc` | `https://megaeth-testnet-v2.blockscout.com` |\n\n## Default stack decisions (opinionated)\n\n### 1. Transaction submission: eth_sendRawTransactionSync first\n- Use `eth_sendRawTransactionSync` (EIP-7966) — returns receipt in <10ms\n- Eliminates polling for `eth_getTransactionReceipt`\n- Docs: https://docs.megaeth.com/realtime-api\n\n### 2. RPC: Multicall for eth_call batching (v2.0.14+)\n- Prefer Multicall (`aggregate3`) for batching multiple `eth_call` requests\n- As of v2.0.14, `eth_call` is 2-10x faster; Multicall amortizes per-RPC overhead\n- Still avoid mixing slow methods (`eth_getLogs`) with fast ones in same request\n\n**Note:** Earlier guidance recommended JSON-RPC batching over Multicall for caching benefits. With v2.0.14's performance improvements, Multicall is now preferred.\n\n### 3. WebSocket: keepalive required\n- Send `eth_chainId` every 30 seconds\n- 50 connections per VIP endpoint, 10 subscriptions per connection\n- Use `miniBlocks` subscription for real-time data\n\n### 4. Storage: slot reuse patterns\n- SSTORE 0→non-zero costs 2M gas × multiplier (expensive)\n- Use Solady's RedBlackTreeLib instead of Solidity mappings\n- Design for slot reuse, not constant allocation\n\n### 5. Gas: skip estimation when possible\n- Base fee stable at 0.001 gwei, no EIP-1559 adjustment\n- Ignore `eth_maxPriorityFeePerGas` (returns 0)\n- Hardcode gas limits to save round-trip\n- Always use remote `eth_estimateGas` (MegaEVM costs differ from standard EVM)\n\n### 6. Debugging: mega-evme CLI\n- Replay transactions with full traces\n- Profile gas by opcode\n- https://github.com/megaeth-labs/mega-evm\n\n## Operating procedure\n\n### 1. Classify the task layer\n- Frontend/WebSocket layer\n- RPC/transaction layer\n- Smart contract layer\n- Testing/debugging layer\n\n### 2. Pick the right patterns\n- Frontend: single WebSocket → broadcast to users (not per-user connections)\n- Transactions: sign locally → `eth_sendRawTransactionSync` → done\n- Contracts: check SSTORE patterns, avoid volatile data access limits\n- Testing: use mega-evme for replay, Foundry with `--skip-simulation`\n\n### 3. Implement with MegaETH-specific correctness\nAlways be explicit about:\n- Chain ID (4326 mainnet, 6343 testnet)\n- Gas limit (hardcode when possible)\n- Base fee (0.001 gwei, no buffer)\n- Storage costs (new slots are expensive)\n- Volatile data limits (20M gas after block.timestamp access)\n\n### 4. Deliverables expectations\nWhen implementing changes, provide:\n- Exact files changed + diffs\n- Commands to build/test/deploy\n- Gas cost notes for storage-heavy operations\n- RPC optimization notes if applicable\n\n## Progressive disclosure (read when needed)\n- Wallet operations: [wallet-operations.md](wallet-operations.md)\n- Frontend patterns: [frontend-patterns.md](frontend-patterns.md)\n- RPC methods reference: [rpc-methods.md](rpc-methods.md)\n- Smart contract patterns: [smart-contracts.md](smart-contracts.md)\n- Storage optimization: [storage-optimization.md](storage-optimization.md)\n- Gas model: [gas-model.md](gas-model.md)\n- Testing & debugging: [testing.md](testing.md)\n- Security considerations: [security.md](security.md)\n- Reference links: [resources.md](resources.md)\n","readmeExcerpt":"--- 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 w","codeSnippets":[],"executableExamples":[],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"CLAWHUB","editorialOverview":"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. --- 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 w","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":419,"uniquenessScore":64,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T12:39:30.991Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}