XRP $3.12 ▲ 4.8% BTC $114,820 ▲ 1.2% ETH $4,380 ▼ 0.6% RLUSD $1.00 ▲ 0.0% XLM $0.41 ▲ 3.1% Fear & Greed 68 · GreedXRP $3.12 ▲ 4.8% BTC $114,820 ▲ 1.2% ETH $4,380 ▼ 0.6% RLUSD $1.00 ▲ 0.0% XLM $0.41 ▲ 3.1% Fear & Greed 68 · Greed
Home / Guides
● Guides

Does XRP Have Smart Contracts? Hooks, the EVM Sidechain & What’s Coming

The XRP-cant-do-smart-contracts line is out of date. The clean answer: safe native features, lightweight Hooks, and a full Ethereum-compatible EVM sidechain live on mainnet - and why XRP built it this way on purpose.

JM
by Jacob Marquez · Guides Desk
Published September 5, 2026 · 6 min read

“XRP can’t do smart contracts.” For years that was the go-to knock — the thing Ethereum maximalists said to wave XRP away. And for years there was a kernel of truth to it. But that answer is now out of date, and the real story is more interesting than either the critics or the hype crowd admit. So: does XRP have smart contracts? Short answer — yes, now, through more than one route. Let’s break down exactly how, because the way XRP got there tells you a lot about its whole philosophy.

First, why the XRPL didn’t do smart contracts like Ethereum

This wasn’t an oversight — it was a deliberate design choice, and understanding it is the key to the whole topic. Ethereum runs a general-purpose virtual machine where anyone can deploy arbitrary, Turing-complete code. That’s incredibly powerful — and it’s also the source of a huge share of crypto’s disasters: buggy contracts, exploits, and billions lost to code that did exactly what it was written to do, just not what anyone intended.

The XRP Ledger took the opposite bet: prioritize safety, speed, and predictability for its core job — payments and settlement. Rather than letting anyone run arbitrary code on the main network (and inherit all that risk), the XRPL shipped purpose-built native features that cover the most common needs directly and safely. So while the mainnet historically didn’t have general smart contracts, it was never “dumb.”

The XRPL’s native “smart-contract-like” features

A lot of what people use smart contracts for on other chains is built directly into the XRP Ledger as safe, native functionality — no risky custom code required:

  • Escrow — lock funds to be released by time or condition. A core smart-contract use case, native and safe (see our XRP escrow guide).
  • A built-in decentralized exchange (DEX) — on-chain trading has been native to the XRPL for years.
  • Native AMM (automated market maker, XLS-30) — on-chain liquidity and yield, built into the protocol (see our XRPL DeFi guide).
  • Token issuance and NFTs — create and manage assets natively, without deploying a contract.
  • Payment channels and more for streaming and conditional payments.

The philosophy: give people the powerful building blocks safely, instead of handing everyone a loaded gun and hoping. But the ecosystem still wanted programmable, custom logic — so it got it, in two smart ways.

Route 1: Hooks — lightweight smart contracts on the ledger

Hooks are small, efficient pieces of code that attach to an account and run logic before or after transactions — think “if this, then that” rules living on the ledger itself. They’re intentionally lightweight and constrained (not sprawling Turing-complete programs), which keeps them fast and far harder to blow up than a typical smart contract. Hooks have been pioneered on Xahau, an XRPL sister-network (a fork), which we cover in our What Is Xahau? guide. This is programmable logic in the XRPL spirit: powerful, but built for safety.

Route 2: The XRPL EVM Sidechain — full smart contracts, live

This is the big one, and it’s the answer that puts the “XRP can’t do smart contracts” line to bed. The XRPL EVM sidechain is now live on mainnet — a separate chain, connected to the XRP Ledger by a bridge, that is fully Ethereum-compatible. That means developers can deploy standard Solidity smart contracts and run Ethereum-style dapps (DeFi, and more) inside the XRP ecosystem, with XRP as gas — while the main XRPL stays lean, fast, and secure for payments.

It’s a genuinely elegant split: keep the risky, arbitrary-code world on a dedicated sidechain, and keep the settlement backbone clean. You get the full power of EVM smart contracts and you don’t bolt that risk onto the payments network everyone relies on. Ripple’s RLUSD stablecoin expanding across smart-contract ecosystems is part of this same story.

So, does XRP have smart contracts? The clean answer

Yes — via three complementary layers:

  • Native features on the XRPL mainnet cover many smart-contract use cases (escrow, DEX, AMM, tokens, NFTs) safely and directly.
  • Hooks add lightweight, efficient programmable logic in the XRPL spirit (pioneered on Xahau).
  • The XRPL EVM sidechain brings full, Ethereum-compatible smart contracts and dapps to the ecosystem, live on mainnet.

The old “XRP can’t do smart contracts” jab describes a network that no longer exists.

The honest catch

We don’t sell fairy tales, so be precise. The base XRP Ledger mainnet still does not run arbitrary Turing-complete smart contracts directly — and that’s by design, not weakness. The full smart-contract power lives on the EVM sidechain, which is a separate network with its own security model and bridge (bridges are a known risk surface in crypto and worth respecting). Hooks are powerful but intentionally limited, and much of the cutting-edge is on Xahau rather than the main XRPL. In other words: “XRP has smart contracts” is true — but it’s a layered answer, not “the XRPL mainnet is now Ethereum.” Anyone who flattens it in either direction (the critic who says “none” or the hype account who says “the mainnet does it all”) is skipping the nuance.

The Terminalcraft take

Here’s what actually happened: while the internet argued about whether XRP could do smart contracts, XRP quietly went and got them — on its own terms. Native safe primitives for the common cases, lightweight Hooks for on-ledger logic, and a full EVM sidechain for anyone who wants Solidity and dapps, all without turning the payments backbone into a minefield. That’s not a network that “can’t.” That’s a network that decided not to put everyone’s funds at risk, and then built the capability the right way. Want to start building on the ledger? Mint a token or explore the tools on My Terminal.

FAQ

Does XRP have smart contracts?
Yes, through three layers: native XRPL features that cover many smart-contract use cases (escrow, DEX, AMM, tokens, NFTs), lightweight programmable “Hooks” (pioneered on Xahau), and the fully Ethereum-compatible XRPL EVM sidechain, which is live on mainnet and runs standard Solidity smart contracts and dapps.

Why didn’t the XRP Ledger have smart contracts originally?
By deliberate design. The XRPL prioritized safety, speed, and predictability for payments, avoiding the arbitrary-code risk that has caused many exploits on other chains. Instead it offered safe native features for common needs, then added programmable layers (Hooks, the EVM sidechain) separately.

What is the XRPL EVM sidechain?
A separate, Ethereum-compatible chain connected to the XRP Ledger by a bridge, now live on mainnet. It lets developers deploy standard Solidity smart contracts and run Ethereum-style dapps within the XRP ecosystem, keeping the main XRPL lean and secure for settlement.

What are Hooks on the XRP Ledger?
Hooks are small, efficient pieces of code attached to an account that run logic before or after transactions — lightweight, constrained smart contracts in the XRPL’s safety-first spirit. They’ve been pioneered on Xahau, an XRPL sister-network.

Can XRP run Ethereum dapps now?
Yes — through the XRPL EVM sidechain, which is Ethereum-compatible, developers can deploy Solidity contracts and Ethereum-style dapps in the XRP ecosystem. The base XRPL mainnet itself still doesn’t run arbitrary smart contracts by design; that capability lives on the sidechain.

// DISCLAIMER: This article is for informational purposes only and is not financial, investment, or trading advice. Terminalcraft may earn a commission from affiliate links. Crypto is volatile and high-risk. Always do your own research.
JM

Jacob Marquez — Guides Desk

Jacob Marquez is the founder and editor of Terminalcraft, an independent XRP-first crypto news desk. An XRP holder and market watcher since 2016, he started Terminalcraft to deliver fast, factual crypto news without the hype.