The price held by code
In the offer the money goes neither to the seller nor stays with Al-Rayyan. It sits in a program that decides when to release it, and nobody at Al-Rayyan can read that program for themselves.
The scene
Jassim brings the payment clause to the table. The price, it says, is deposited into "a ", which pays the seller when the transfer of the plot is recorded and returns it to Al-Rayyan if the transfer is not recorded by the deadline. Noora likes how short it is and asks what could go wrong. Khalid asks who wrote it. Fatima says that is the second question, and that the first is what the program actually knows. She puts down a diagram and walks them through it.
The idea
Escrow, done by a program
is a familiar arrangement: a neutral holder keeps money until an agreed condition is met, then pays it to one side or returns it to the other. A bank's escrow account does this with staff and a signed instruction. A does it with a program: ethereum.org describes one as code at an address on a chain, running as written.
Al-Rayyan deposits the price. The program checks one condition, whether the transfer is recorded. If yes, it pays the seller; if the deadline passes without it, it returns the money. No clerk decides in between.
The idea is older than the chains. In 1997 Nick Szabo described clauses built into and so that breaking them is expensive, with the vending machine as ancestor: put the coins in and the machine does its part. The Bitcoin white paper says "routine escrow mechanisms could easily be implemented", a proposal and not a finished service.
Neither smart nor a contract
The name misleads twice. The program is not smart: it does exactly what was written, no more. And it is not by that fact a contract in the legal sense; it may carry one out. Whether it has legal effect is decided by the law of the place, not by the technology.
What a faithful program does with a mistake
A mistake in the program is carried out as faithfully as a correct line. By default, ethereum.org says, a contract cannot be deleted and interacting with it is irreversible. In November 2017 Parity Technologies announced an accidental in a shared library used by its on Ethereum, the kind that need several keys to approve a payment, created after 20 July 2017. A call to the library let someone take ownership of it and destroy it, and that depended on it could no longer move funds. Parity was still looking for a fix when it was reported.
The bank comparison stops here. A human holder can pause, ask, and correct a mistake, because a person is in the loop. The program has no discretion to use.
What the program cannot see
A contract cannot read the outside world, ethereum.org says; something else must feed it facts. So "the transfer is recorded" has to arrive from somewhere, and Jassim's real question is: recorded where? On the platform's own book, or in the official land register? The next phase returns to this.
The Bank for International Settlements, in a 2023 chapter, describes central-bank experiments in which a payment is set to happen only if a condition is met, with the asset and its payment settling together. This conditional settlement exists in serious projects and is not a toy, but it is not escrow in the sense above: no neutral holder keeps the money.
Three questions to ask
Who wrote it? Who independently checked it? And who, if anyone, can stop or change it once it is live?
Where this fits
Code that holds the price can be sound, or can carry a mistake faithfully, and from outside the two look alike. Al-Rayyan cannot judge the code, but it can ask the three questions, and ask who tells the program what it knows.
References and going further
- Introduction to smart contracts — ethereum.org, 25 February 2026
- The Idea of Smart Contracts — Nick Szabo, copyright 1997
- With deletion of one wallet, ethereum wallets get frozen — Ars Technica, November 2017