---
title: "EVM Compatibility — definition | Nuri Glossary"
description: "A chain able to run Ethereum contracts unchanged, reusing its tooling and developer base."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/evm-compatibility"
---

# EVM Compatibility

A chain able to run Ethereum contracts unchanged, reusing its tooling and developer base.

## Basically

An EVM-compatible blockchain can run apps built for Ethereum. Developers can use the same code and tools without changing them.

## Key Takeaways

- EVM compatibility lets a blockchain run smart contracts written for Ethereum and use Ethereum tooling, including Solidity, Hardhat and MetaMask, without code changes. Developers can deploy the same contracts across multiple chains.
- EVM-compatible chains support the same opcodes and interfaces, while EVM-equivalent chains replicate Ethereum bytecode behaviour identically, including edge cases. Differences in gas costs, precompiles or opcode behaviour can make contracts behave differently across chains.
- Bitcoin-native protocols such as Spark and Lightning deliberately avoid EVM complexity. They rely on Bitcoin Script and cryptographic primitives for security guarantees without the risks of Turing-complete execution.

## What Is EVM Compatibility?

EVM compatibility is a blockchain's ability to execute smart contracts designed for the Ethereum Virtual Machine (EVM) and integrate with Ethereum's developer ecosystem. The EVM is the runtime environment that processes smart contract bytecode on Ethereum. It is a stack-based virtual machine with a 256-bit word size, a maximum stack depth of 1,024 and deterministic execution enforced through gas metering.
Developers on an EVM-compatible chain can write contracts in Solidity or Vyper, compile them to EVM bytecode and deploy them with the same tools they use on Ethereum. Wallets like MetaMask connect by simply switching the RPC endpoint, while block explorers, testing frameworks and deployment scripts all carry over. Developers can reuse existing skills and audited code rather than learning a new language, toolchain and programming model, which is the core value of this portability.
The term gained prominence as alternative Layer 1 blockchains and Layer 2 networks sought to attract Ethereum developers and their established dApp ecosystem. By 2026, dozens of chains claim some degree of EVM compatibility, making it one of the most influential design decisions in blockchain architecture.

## How It Works

The EVM defines approximately 140 opcodes that specify every operation a smart contract can perform, including arithmetic, memory access, storage reads and writes, cryptographic hashing, control flow and interaction with other contracts. An EVM-compatible chain implements these opcodes so compiled Ethereum bytecode executes correctly.

## The EVM Execution Model

A transaction that calls a smart contract makes the EVM load the contract's bytecode and execute it instruction by instruction. Key characteristics include a specified gas cost for each opcode and a transaction reversion if the gas runs out.

## EVM-Compatible vs. EVM-Equivalent

EVM-compatible and EVM-equivalent describe different levels of fidelity, although people often use the terms interchangeably. EVM-compatible chains support the same opcodes and interfaces, while EVM-equivalent chains replicate Ethereum bytecode behaviour identically, including edge cases.
EVM-equivalent chains aim to pass the Ethereum Foundation's official test suite without modifications. The distinction matters because contracts that rely on specific gas costs for security, such as reentrancy guards calibrated to gas stipends, or use low-level assembly with opcode-specific assumptions may break on merely compatible chains.

## Key Technical Components

Full EVM compatibility requires implementing more than just opcodes. A chain must also support the other technical components needed for Ethereum compatibility.

## Major EVM-Compatible Chains

Several blockchains have built their ecosystems around EVM compatibility. Each makes different trade-offs in consensus, decentralisation and performance.
The rollup-based chains Arbitrum, Optimism and Base inherit Ethereum's security while extending its capacity. Their EVM equivalence means developers can typically deploy unmodified Ethereum contracts, though gas pricing differs because rollups include an additional L1 data availability cost component.

## Developer Tooling and Ecosystem

The practical value of EVM compatibility is the developer ecosystem it unlocks. Ethereum has the largest smart contract developer community, and EVM-compatible chains tap into that ecosystem.

## Bitcoin's Intentional Alternative

Bitcoin takes a fundamentally different approach to programmability. Bitcoin Script is intentionally non-Turing-complete, with no loops, no persistent state and a limited set of opcodes focused on signature verification and conditional spending. These restrictions are a deliberate design choice, not a limitation.
The EVM's expressiveness introduces a large attack surface. Reentrancy bugs, unchecked external calls and MEV extraction are vulnerability categories that exist because the EVM allows arbitrary computation. Bitcoin Script eliminates these classes of bugs entirely by restricting what programs can do.
Bitcoin Layer 2 protocols like Spark build sophisticated payment functionality using cryptographic primitives, including threshold signatures, hash locks and timelocks, rather than Turing-complete virtual machines. This approach trades generality for security and predictability. Some Bitcoin Layer 2 projects like RSK (Rootstock) and Botanix do bring EVM compatibility to Bitcoin via sidechains, but they inherit the EVM's complexity trade-offs alongside its ecosystem benefits.

## Multi-Chain dApp Deployment

A dApp built for Ethereum can deploy to Polygon, Arbitrum or Avalanche with minimal changes. The core contract logic, security audits and formal verification results carry over. Only chain-specific configurations, including bridge addresses, oracle endpoints and gas parameters, need updating.

## Liquidity Migration

EVM compatibility enables DeFi protocols to expand across chains. A lending protocol can deploy the same contract code on multiple chains, allowing users to supply liquidity wherever yields are most attractive. The standardised ABI means aggregators and front-ends can integrate without per-chain custom code.

## Developer Onboarding

New blockchains use EVM compatibility as a go-to-market strategy. Solidity support gives them immediate access to the largest pool of smart contract developers. Teams can prototype on Ethereum testnets and deploy to production on a cheaper, faster EVM chain.

## Cross-Chain Tooling

Security auditors, monitoring services and analytics platforms build for the EVM once and support every compatible chain. Shared tooling becomes more valuable as more chains adopt EVM compatibility, and that value attracts more chains through a network effect.

## False Sense of Equivalence

The biggest risk of EVM compatibility is assuming identical behaviour when differences exist. A contract audited on Ethereum may behave differently on a compatible chain because of subtle differences in gas costs, precompiles or opcode behaviour.

## Security Inheritance Assumptions

EVM compatibility does not mean security equivalence. A contract deployed on an EVM-compatible chain inherits that chain's security model, not Ethereum's. A chain with 21 validators has a fundamentally different security profile from Ethereum's hundreds of thousands of validators, even when the contract bytecode is identical.

## Upgrade Lag

Ethereum EVM changes, such as the PUSH0 opcode in the Shanghai upgrade or the upcoming EOF format, require compatible chains to decide whether and when to adopt them. The resulting versioning fragmentation means contracts compiled with the latest Solidity version may use opcodes that a lagging EVM-compatible chain does not yet support.

## Complexity Surface Area

Adopting EVM compatibility means inheriting the EVM's entire complexity surface, including known vulnerability patterns such as reentrancy, delegate call exploits and storage collision. Chains that adopt the EVM accept these risks as the cost of ecosystem access. Bitcoin's restricted scripting model offers a more constrained and arguably more secure foundation for protocols where simplicity and auditability are paramount.

## EVM Compatibility and Wider Design Choices

Non-EVM smart contract platforms, including Solana's SVM, Aptos and Sui's Move VM and Cosmos's CosmWasm, take an alternative approach by building purpose-optimised execution environments rather than replicating the EVM. These platforms sacrifice Ethereum tooling compatibility for advantages in parallelism, safety guarantees or transaction throughput.
Ethereum Layer 2 rollups, meanwhile, push EVM equivalence even further, aiming for perfect fidelity so existing Ethereum applications can migrate without modification. The trade-off between compatibility breadth and implementation depth remains one of the defining tensions in blockchain infrastructure design.
Bitcoin-focused ecosystems must decide whether EVM compatibility is necessary or whether native primitives provide sufficient programmability. Protocols like Spark demonstrate that sophisticated payment infrastructure, including instant transfers, stablecoin support and self-custodial wallets, can be built without a Turing-complete virtual machine by using Bitcoin Script, cryptographic commitments and purpose-built Layer 2 designs.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
