← All posts
AUG 3, 2026 · 12 MIN READ · XRPL PROGRAMMABILITY

XRP Smart Contracts in 2026: XRPL Native Features, Hooks, and the EVM Sidechain

By XORA Research · Published

Yes, XRP can be used in programmable financial applications in 2026, but “XRP smart contracts” describes three different systems. XRPL Mainnet provides live, protocol native transaction logic rather than arbitrary programs. Hooks remains a public testnet preview. General purpose Solidity contracts run on the live XRPL EVM Sidechain, a separate Layer 1 with its own consensus. Keeping those boundaries clear is the difference between a useful architecture and misleading marketing.

Three XRP programmability paths in 2026 Three separate panels compare live protocol native features on XRP Ledger Mainnet, the Hooks V3 public testnet preview, and general purpose Solidity contracts on the live but independent XRPL EVM Sidechain. One ecosystem, three distinct execution boundaries LIVE MAINNET XRP Ledger Native transaction rules escrow · DEX · AMM checks · channels · tokens No arbitrary user bytecode PUBLIC TESTNET Hooks V3 Account attached WASM accept · reject · state emit transactions Not XRPL Mainnet LIVE SIDECHAIN XRPL EVM General purpose Solidity EVM contracts · ERC20 XRP gas · EVM tools Separate sovereign Layer 1 “Live” does not mean “on the same chain.” Verify the execution boundary first.
The two green panels are live production networks, but they are not the same ledger. Hooks occupies a separate test environment.
Open Xora → Calculate XRP yield →

The 2026 claim matrix: live, testing, or proposed

For the Mainnet column below, XORA checked the validated feature response through Ripple's public XRPL server on the publication date, then compared it with the official amendment registry. That matters because documentation, code, validator voting, and activation are four different states.

CapabilityCurrent statusExecution model
Escrow and CryptoConditionsEnabled on XRPL MainnetTime or preimage condition checked by protocol rules
Checks and payment channelsEnabled on XRPL MainnetDeferred pull payment or signed claims with final settlement
DEX and AMMEnabled on XRPL MainnetBuilt in order books, pathfinding, and liquidity pools
Credentials, domains, and PermissionedDEXEnabled on XRPL MainnetCredential gated access to protocol native markets
TokenEscrow and PriceOracleEnabled on XRPL MainnetToken escrow support and standardized oracle records
Batch, LendingProtocol, XChainBridgeNot enabled on XRPL MainnetKnown amendments, not production capabilities
Smart Escrows, XLS 100Draft standardProposed restricted WASM on an escrow object
Hooks V3Public testnet previewSmall WASM modules attached to accounts
XRPL EVM SidechainLive production sidechainGeneral purpose EVM execution with XRP as gas

Fast test: if a product says its Solidity contract runs “on XRPL,” ask for the chain ID and block explorer. Solidity execution belongs to the EVM sidechain unless the claim describes a different external chain. An XRPL Mainnet transaction hash does not prove that arbitrary code ran on XRPL Mainnet.

What XRPL Mainnet can program today

XRPL Mainnet takes a primitive first approach. Transactions are the only way to modify shared ledger state, and each transaction type has deterministic behavior implemented in xrpld. A developer combines known components instead of deploying an open ended program that validators execute.

The clearest smart contract example is conditional escrow. EscrowCreate locks funds in a ledger object. A time gate can delay release or permit cancellation after a deadline. A CryptoCondition can instead require a matching fulfillment. The ledger verifies the fulfillment when someone submits EscrowFinish; it does not call a weather API, price feed, or legal database by itself.

How a native XRPL conditional escrow executes An EscrowCreate transaction locks XRP or supported tokens with a time or cryptographic condition. An outside party may supply information, but an EscrowFinish transaction must carry the fulfillment and XRPL protocol rules decide whether funds are released. Native escrow is programmable settlement without arbitrary code 1 · CREATE EscrowCreate amount + recipient + gate 2 · LEDGER OBJECT Funds locked time gate OR crypto condition terms cannot be improvised at execution 3 · FINISH EscrowFinish fulfillment submitted OUTSIDE INFORMATION MAY REVEAL A SECRET XRPL verifies the supplied proof; it does not fetch the real world event. Valid fulfillment → release · deadline path → cancel · invalid input → no state change
Conditional escrow is powerful precisely because its execution surface is narrow. An oracle can control disclosure of a fulfillment, but it does not turn XRPL into a general compute engine.

Other native primitives cover different financial jobs. Checks let a recipient pull up to an authorized amount. Payment channels move repeated signed claims off ledger and settle the final state on ledger. The decentralized exchange, pathfinding, and automated market makers provide exchange logic without a user deployed router contract. Credentials and permissioned domains let applications enforce verified access at the protocol boundary.

This model has a useful security property: developers inherit reviewed transaction semantics and users can reason about a bounded set of effects. The tradeoff is equally clear. If the intended application needs arbitrary storage, loops, contract calls, or custom state transitions, native Mainnet primitives may not express it.

Why amendment status changes the answer

Every change that affects XRPL transaction processing follows the amendment system. Code can ship in a stable server before the network enables it. Validators must support an amendment above the required threshold for two weeks before activation, and older servers that cannot understand an activated rule become amendment blocked.

That lifecycle prevents three common errors. A draft XLS is not running code. A feature in xrpld is not necessarily enabled. A Devnet or testnet demonstration is not Mainnet. Status must be checked against a validated ledger near the time of use, not copied from an old launch article.

XLS 100 Smart Escrows illustrates the distinction. The June 2026 draft proposes attaching restricted WASM bytecode to an escrow, executed only when that escrow is finished. It would extend a specific native primitive rather than create a universal contract account. The standard says it requires a future SmartEscrow amendment. It was not an enabled Mainnet feature at publication.

Batching supplies a second caution. The original Batch amendment never activated on Mainnet, and XRPL's February 2026 disclosure documented a signature validation flaw found during voting. The publication date Mainnet response still showed Batch disabled. A planned or documented transaction type should never appear in a production dependency list until activation is independently verified.

Hooks: an account policy model still in testing

Hooks proposes a different kind of Layer 1 programmability. In the XRPL Labs technical model, a Hook is a small WebAssembly module attached to an account. The test design can inspect a transaction before or after it affects that account, accept or reject the originating transaction, maintain limited state, and emit another transaction. This makes account level policies such as payment filters or automated routing easier to express than with a fixed transaction type.

The status is unambiguous: official XRPL documentation lists Hooks V3 Testnet under parallel networks as a preview of on ledger smart contract functionality. It does not list Hooks as a Mainnet capability, and the current Mainnet feature response contains no enabled Hooks amendment. Test XRP has no real value and test networks can reset.

Hooks should therefore be evaluated as a research and prototyping path, not a live settlement dependency. It is also distinct from Smart Escrows. Hooks describes account attached transaction logic. Smart Escrows proposes code scoped to one escrow object's release decision. Neither should be conflated with today's native escrow behavior.

The EVM sidechain: live contracts on a separate chain

The XRPL EVM Sidechain is the general purpose option that is live today. Ripple announced its Mainnet launch on June 30, 2025. Developers can deploy Solidity contracts and use familiar EVM tooling. XRP serves as the gas asset on that network.

The word “sidechain” must not erase the architecture. Official documentation describes XRPL EVM as a sovereign Layer 1 built with the Cosmos SDK and secured by its own CometBFT consensus, currently using a proof of authority validator model. XRPL Mainnet consensus does not execute its Solidity bytecode, store its contract state, or validate each EVM state transition.

Cross chain execution boundary between XRPL and XRPL EVM An XRPL Mainnet payment is validated on XRPL. Axelar bridge infrastructure verifies and relays a value transfer or message. A separate transaction then executes a Solidity contract under XRPL EVM Sidechain consensus. Each stage has an independent trust and failure boundary. Cross chain access is a sequence of proofs, not one atomic ledger action XRPL MAINNET Payment validated XRPL consensus boundary AXELAR PATH Verify and relay bridge validators + relayers message or asset transfer XRPL EVM Contract executes separate consensus boundary SECURITY REVIEW MUST COVER ALL THREE STAGES source transaction · bridge verification · destination contract and approvals XRPL XChainBridge amendment status is separate; the live EVM route uses Axelar.
A contract call reached through a bridge inherits XRPL, bridge, sidechain, and contract assumptions. It is not a single XRPL Mainnet execution.

The production connection to XRPL uses Axelar infrastructure for asset transfers and general message passing. The EVM documentation explicitly warns that cross chain applications are unsuitable when every step must be atomic or complete in the same block. The live bridge does not imply that XRPL's separate XChainBridge amendment is enabled; the Mainnet feature response showed that amendment disabled at publication.

This gives developers broad expressiveness, but it expands the security model. Users and builders must review the source transaction, bridge route, destination network, contract code, token approvals, validator assumptions, and recovery behavior. A contract audit does not audit the bridge, and an XRPL transaction result does not certify the destination contract outcome.

How to choose the right path

  1. Start with the native primitive. If escrow, checks, channels, token controls, the DEX, or an AMM solves the whole job, XRPL Mainnet offers the smallest execution surface.
  2. Use EVM only for logic that needs it. Arbitrary state machines, composable Solidity contracts, and established Ethereum tooling point toward XRPL EVM, with the separate chain and bridge risk made explicit.
  3. Prototype future features without promising them. Hooks and draft Smart Escrows are useful research targets. Production plans should not depend on them until an amendment exists and Mainnet activation is verified.
  4. Design around the failure boundary. A native transaction can be atomic within one ledger. A cross chain workflow has intermediate states, retries, and reconciliation needs.
  5. Name the chain in every interface. Show the network, address format, transaction explorer, and custody state before a user signs. “XRP ecosystem” is not a sufficient execution label.

For investors, the same framework cuts through vague claims. Ask where code runs, which amendment enables it, whether the status is Mainnet or testnet, how XRP enters the system, and which entity or validator set can change the rules. Those five answers reveal more than the phrase “smart contracts on XRP.”

FAQ

Does XRPL Mainnet support smart contracts?

XRPL Mainnet supports deterministic, protocol native programmability: conditional escrow, checks, payment channels, the DEX, AMMs, token controls, credentials, and permissioned markets. It does not execute arbitrary Solidity or general purpose user bytecode.

Are Hooks live on XRPL Mainnet in 2026?

No. Official XRPL documentation lists Hooks V3 as a public testnet preview. Hooks was not an enabled XRPL Mainnet amendment as of August 3, 2026.

Is the XRPL EVM Sidechain the same blockchain as XRPL Mainnet?

No. It is a sovereign Layer 1 built with the Cosmos SDK. It maintains separate state and consensus even though it uses XRP as gas and connects to the broader XRPL ecosystem.

Can XRP be used with EVM smart contracts?

Yes. XRP is the gas asset on XRPL EVM. Moving value or messages from XRPL Mainnet uses cross chain infrastructure such as Axelar, so bridge and separate chain risks apply.

Which XRP smart contract model should a developer choose?

Choose XRPL native features for standard payment and asset logic. Choose the EVM sidechain when arbitrary Solidity is essential. Treat Hooks and Smart Escrows as research targets until their Mainnet status changes.

Sources checked

Put XRP to work with the execution boundary clear

Smart contract capability does not make any return automatic, and it does not remove custody, contract, bridge, market, liquidity, or counterparty risk. Read the network and product disclosures before moving funds. For a deeper look at yield mechanics, compare the ways to earn yield on XRP and model outcomes with the XRP yield calculator.

xora.finance is where to put your XRP to work and earn up to 22% instead of leaving it idle on an exchange. The offer is framed as up to 22% APY value (15% native XRP yield, treasury-subsidised during a disclosed bootstrap, plus estimated XORA reward value). It is variable, not guaranteed, and not risk free. Review the security model, then use the button below when you are ready.

Open Xora → Put your XRP to work Read the security model →