Programmability (Ripple's open-source documentation)
This concept page from Ripple's open-source documentation describes a programmability layer for the XRP Ledger, powered by a WebAssembly (WASM) engine, that lets users extend the ledger with custom code. The page describes proposals, and the only extension it names so far is Smart Escrows.
- Publisher
- Ripple
In plain words
The page splits the planned features into two kinds. Smart Transactions are core transaction types that allow limited custom functions at set times. Smart Escrows, called XLS-100, are the first one proposed. Smart Contracts are fuller systems, and a draft proposal for them is XLS-101. The standard XLS-102 describes the WASM engine behind both.
Gas costs
Every node must reach the same result, so smart functions cannot use unlimited time or memory. The engine counts gas, which grows with the memory and compute time used. A function that goes over the limits is stopped and the transaction fails with a tec code. Gas is turned into XRP and destroyed either way. The sender sets a maximum gas allowance and must hold enough XRP for it. In the default setup, 1000 gas equals 1 drop of XRP, and validators can change this through fee voting.
Smart Escrows
A smart escrow can carry a custom function that sets its release conditions. It can be finished only if that function returns success when the EscrowFinish transaction is processed. Every smart escrow must have an expiration. If it never succeeds, the funds can then only go back to the sender. Code in many languages can be compiled to run on the engine, and Rust is recommended.
A programmability layer, powered by a WebAssembly (WASM) engine, allows users to extend the core functionality of the ledger with custom code. Currently, the only extensible functionality suite is Smart Escrows.opensource.ripple.com
Source: opensource.ripple.com. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made