What the chain cannot see

The payment clause releases the price when the transfer is "recorded". That word has to arrive from somewhere, and where it arrives from is the weakest link in the deal.

  • Lesson 10 of 12
  • 7 min

The scene

Khalid reopens the question Jassim left hanging at the payment clause: recorded where? Jassim has found the answer in the platform's technical note. The program releases the price when "the registry feed reports the transfer". Noora asks the plainest thing: how does a program on a chain know what a land registry did? Does it go and look? Fatima says it cannot, because it has no way to look. She asks them to picture the register book with its hundreds of copies kept in a room with no windows. It knows everything written in the book, and nothing else.

The idea

A book with no windows

A chain knows only what is written on it: balances, tokens and the records of its own programs. Whether the plot was really transferred, whether a building stands on it, what anything costs today: none of that is written there. ethereum.org says a cannot, by default, read information stored outside its chain. The copies agree about what the book says, never about whether it is true.

The feed

An is the service that brings an outside fact into the book. ethereum.org describes as applications that produce data feeds, so a program can use facts stored elsewhere: the oracle sources the fact, checks it and sends it on. It can also carry information the other way, from the chain out to an outside system. In the offer, "the transfer is recorded" is exactly such a fact. Someone has to write it into the book, and the program then acts on what was written.

The oracle gap A diagram illustrating the oracle problem in blockchain networks. The real world of land registries, plots, and prices is separated from the isolated blockchain network. The oracle serves as the single bridge bringing data across the gap. A bottom note reminds that the chain blindly trusts the oracle, so any erroneous input is faithfully recorded and executed. The oracle gap Real world Land registry Plot of land Market prices Outside facts Blockchain Contracts Balances Own records Blind to outside The oracle one bridge The only way in Reads facts Feeds chain The blockchain cannot see the outside world. A wrong input is recorded faithfully, error and all.

The oracle problem

ethereum.org names the difficulty the oracle problem. The data must be correct for the program to run correctly, and having to trust whoever runs the feed undermines the idea that nobody needs to be trusted. The chain can at most check who sent the message. It cannot check that the message is true. A wrong report is recorded faithfully, error and all, and then acted on: the price is released.

A bank's officer works the same way. The officer pays the seller on receiving a notary's certificate and never visits the land. The comparison stops where the officer can query the certificate, telephone the notary and hold the money on a doubt. A program does none of these.

The clerk is still in the story

Behind every feed there is a person or an office in the real world. For this deal it is the registry clerk who updates the official register. The trust runs from the clerk to the feed to the program, and the chain only guards the last stretch. In the public land projects of the last phase, the title stayed in the official register. Georgia's chain held a fingerprint, Sweden's held fingerprints and a log of steps, and Dubai's page does not say what would be written. A fingerprint, a , written on a chain shows that a document existed in that form on that day. It does not show that the document is true or still current.

Four questions for the feed

  1. Who runs it?
  2. What does it actually read: the official register, or the platform's own book?
  3. What happens if it is wrong, or stops?
  4. Who answers to Al-Rayyan if the price is released on a false report?

Where this fits

The chain is exact about what it holds and blind to everything else, so every promise about the outside world rests on a feed that someone runs. The next lesson faces what happens when something fails, and asks whether the deal needs a chain at all.

References and going further

Check yourself

The platform's feed is run by the platform's operator and reports "transfer recorded" from the operator's own , not from the official land register. What does that mean for the deal?

Use the arrow keys to read the options, then press Space to answer.

Type a lesson, an idea or a job. English words work in Arabic too.