| title | Architecture |
|---|---|
| description | Detailed overview of the Metis Hyperion (HYPE) architecture, including its layered design, key components, and developer interactions. |
This document provides an in-depth overview of the Metis Hyperion (HYPE) architecture, highlighting its layered design, key components, and how they interact to deliver high-performance Layer 2 capabilities.
Metis Hyperion is built on a modular architecture with four primary layers, each addressing specific aspects of blockchain scalability, performance, and interoperability:
- Networking & Consensus Layer: Handles data communication and transaction ordering
- Execution Layer: Powers high-performance transaction processing
- Data Services Layer: Provides efficient state management and storage
The Networking & Consensus Layer manages data communication, transaction ordering, and consensus within the Hyperion network.
-
Decentralized Sequencer Network: Provides decentralized and fair transaction ordering with:
- Leader rotation mechanism
- Timeout-based failover
- BLS multi-signatures for quorum certificates
- MEV-resistant mechanisms
-
Scalable Consensus Engine: Supports customizable sequencer networks, balancing performance and decentralization.
-
Node Sync Component: Ensures rapid synchronization of blockchain data across nodes.
-
Relayer: Manages message communication and transaction forwarding between Ethereum Layer 1 and Metis Hyperion.
- Transaction Submission: Users submit signed transactions to the distributed mempool
- Sequencer Leader Election: A stake-weighted mechanism assigns the active sequencer
- Transaction Batch Formation: The sequencer creates ordered transaction batches
- Batch Validation: Transactions are validated against consensus rules
- State Commitment: The batch is finalized with a quorum certificate (QC)
- Ethereum Settlement: Periodically, state roots are submitted to Ethereum L1
The Execution Layer forms the backbone of Metis Hyperion's high-performance capabilities, enabling real-time transaction processing and parallel execution.
-
MetisVM (EVM-Compatible Executor):
- Dynamic Opcode Optimization
- Instruction Extensions (including floating-point operations)
- JIT Compilation for frequently used opcodes
- Speculative & Parallel Execution
- State-Aware Caching
- AI Infrastructure Support
-
Real-Time Transaction Pipeline:
- Pipelined architecture for minimum end-to-end latency
- Immediate transaction feedback
- Deferred BlockHash Priority for high throughput
- Parallelized State Root Framework
-
Metis Parallel Execution Framework (MPEF):
- Transaction Pre-Processing with static code analysis
- DAG-based execution scheduling
- Optimistic Concurrency Control
- Conflict detection and resolution
-
Native Paymaster (Future):
- Gas fee abstraction
- Support for ETH, USDC, and USDT payments
- Web2-style user onboarding
The Data Services Layer ensures efficient, secure, and scalable data management for the Metis Hyperion network, optimizing storage and retrieval of blockchain state.
-
MetisDB: A custom-designed database optimized for Sequencer operations with:
- Asynchronous I/O for minimal latency
- High-efficiency MVCC caching
- Memory-mapped Merkle trees for nanosecond-level state access
- Write-Ahead Logging (WAL) for durability
- Snapshot management for recovery
-
State Commitment Layer: Manages active blockchain state with:
- Memory-Mapped Merkle Trees
- Transaction Delta Processing
- Efficient state proof generation
-
State Storage Layer: Optimized for historical data with:
- Raw Key-Value Storage
- Asynchronous Pruning
- Flexible backend support
Metis Hyperion's layered architecture ensures modular yet integrated operation:
- Inputs: Transactions from users and cross-chain messages enter through the Networking Layer
- Ordering: The Consensus Layer sequences these transactions via the Decentralized Sequencer
- Execution: The High-Performance Execution Layer processes transactions in parallel
- State Management: The Data Services Layer efficiently updates and maintains state
- User submits transaction to Metis Hyperion network
- Transaction enters the encrypted mempool
- Leader sequencer includes the transaction in a batch
- Static analysis identifies dependencies and execution paths
- Parallel execution framework processes the transaction
- State is updated in MetisDB with minimal latency
- User receives immediate transaction confirmation
- Periodically, state commitments are sent to Ethereum L1
This architecture delivers several key benefits for developers:
- Modularity: Select and customize components based on application needs
- Scalability: Leverage parallel execution for high-throughput applications
- Flexibility: Support for diverse virtual machines and programming models
- Performance: Sub-second finality and immediate feedback for responsive dApps
- Interoperability: Seamless cross-chain functionality without complex bridging