InterLayer MEL: Multi-VM Execution Layer

The unified execution fabric coordinating EVM, SVM, and PolkaVM under shared balances, a common transaction envelope, and atomic multi-call semantics.

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:

// Core Fields
from: AccountId
to: AccountId
vm: VmType // EVM | SVM | PolkaVM | Move | CosmWasm
payload: Bytes
gas_budget: u64
nonce: u64
// Advanced
atomic: bool // Bundle atomicity
capabilities: Vec<Capability>
auth_scheme: AuthScheme // ECDSA | Ed25519 | Dilithium

Virtual Machine Specifications

EVM (Ethereum Virtual Machine)

Language
Solidity, Vyper
Compatibility
Ethereum 100%
Runtime
revm (Rust-EVM)
Gas Model
London + EIP-1559

Deploy existing Ethereum contracts with zero modifications. Full Solidity support including all EIPs up to Shanghai.

SVM (Solana Virtual Machine)

Language
Rust (Anchor)
Compatibility
Solana eBPF
Runtime
rbpf interpreter
Accounts Model
Account-based (Solana)

Run Solana programs natively. Full Anchor framework support with account model preserved.

PolkaVM (RISC-V)

Language
Ink!, Rust
Compatibility
Polkadot Parachains
Runtime
RISC-V interpreter
Gas Model
Weight-based

Native support for Ink! smart contracts and Substrate pallets compiled to RISC-V.

Move VM & CosmWasm

Full support for Move (Aptos/Sui) and CosmWasm (Cosmos) available now on gravity-testnet. Architecture supports any stack-based or register-based VM.

Atomic Bundles

Multi-call bundles can target mixed VMs - either all succeed or none commit. Perfect for complex cross-VM DeFi strategies.

All-or-Nothing Execution
If any call in the bundle fails, all state changes are reverted atomically.
Per-Call Isolation
Individual receipts for each call with detailed failure reasons.
Deterministic Ordering
FIFO ordering within bundles, guaranteed execution sequence.