megaeth

Configure MegaETH blockchain RPC endpoints and send real-time transactions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/0xinit/cryptoskills --skill megaeth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: megaeth
Source: https://github.com/0xinit/cryptoskills/tree/main/skills/megaeth
Command: npx skills add https://github.com/0xinit/cryptoskills --skill megaeth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides developers with the essential tools, configurations, and insights needed to build and deploy applications on the MegaETH blockchain efficiently.

Core Features & Use Cases

  • Chain Configuration: Access to mainnet and testnet RPC endpoints, chain IDs, and explorers.
  • Real-time Transactions: Utilize eth_sendRawTransactionSync for instant transaction receipts (<10ms).
  • Gas Optimization: Understand MegaETH's unique gas model, focusing on storage costs and slot reuse.
  • Use Case: A developer needs to quickly integrate with MegaETH's real-time transaction capabilities for an on-chain order book application, ensuring instant confirmation feedback to users.

Quick Start

Use the megaeth skill to get the current chain ID for the MegaETH mainnet.

Frequently Asked Questions about megaeth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get instant transaction receipts on MegaETH?

MegaETH provides real-time transaction capabilities using the `eth_sendRawTransactionSync` RPC method, which returns instant transaction receipts in under 10 milliseconds. This allows applications to receive immediate confirmation feedback.

What is the best way to optimize gas for smart contracts on MegaETH?

The best way to optimize gas on MegaETH is to minimize storage costs by reusing storage slots. Developers can implement specific patterns like circular buffers and SSTORE2 to significantly reduce gas consumption in smart contracts.

Can I use Foundry and viem for MegaETH blockchain development?

Yes, you can use Foundry and viem for MegaETH blockchain development. The environment provides specific integration guidance for both tools, allowing you to compile, test, and deploy smart contracts using these standard EVM development frameworks.

How do I configure RPC endpoints and chain IDs for MegaETH testnet and mainnet?

You can configure RPC endpoints and chain IDs for MegaETH mainnet and testnet by accessing the provided chain configurations. The skill supplies the specific network parameters needed to connect your development environment to MegaETH.

Does MegaETH use a standard EVM gas model for storage costs?

MegaETH uses a unique gas model that specifically focuses on storage costs and slot reuse rather than a standard EVM gas model. Understanding this storage-centric pricing is essential for efficient smart contract development.