InterLayer MEL: Multi-VM Execution Layer
The unified execution fabric coordinating all 5 VMs (EVM, SVM, PolkaVM, Move, CosmWasm) under shared balances, a common transaction envelope, and atomic multi-call semantics on Gravity Testnet.
Core Components
MEL Scheduler & Router
Routes `MELTx` transactions to VM adapters based on `vm` field and capabilities flags.
VM Adapters
`mel-evm`, `mel-svm`, `mel-polkavm` - bridging layers to each VM runtime with state isolation and gas metering.
Cross-VM Message Bus
Event and call propagation with failure isolation. Atomic bundles guarantee all-or-nothing execution.
Unified Asset & Address Registry
Chain-level registry mapping assets across VMs with SS58 root identity. One address, all VMs.
Gas Normalization
Unified gas weights - per-VM metering translated to chain units for predictable fees.
MEL Transaction Envelope
Every transaction on InterLayer uses the MELTx envelope format:
Virtual Machine Specifications
EVM (Ethereum Virtual Machine)
Deploy existing Ethereum contracts with zero modifications. Full Solidity support including all EIPs up to Shanghai.
SVM (Solana Virtual Machine)
Run Solana programs natively. Full Anchor framework support with account model preserved.
PolkaVM (RISC-V)
Native support for Ink! smart contracts and Substrate pallets compiled to RISC-V.
Move VM
Move resources are stored as on-chain structs with ownership tracked via the unified balance ledger. Call Move modules with the same unified address model used by all other VMs.
CosmWasm
CosmWasm contracts are executed via a dedicated JSON-RPC endpoint. Query execution is supported through runtime API for read-only operations.
Atomic Bundles
Multi-call bundles can target mixed VMs - either all succeed or none commit. Perfect for complex cross-VM DeFi strategies.