Explorer
The Ricardian synthesis
A Ricardian contract keeps human-readable prose, parameters and machine-readable logic together in one signed document. Choose a layer.
Prose · Human-readable terms
Supplier A agrees to deliver 100 units of the goods described in Schedule 1 to Buyer B by 31 March. Buyer B will pay the agreed price within 14 days of delivery. If the prose and the code below disagree, the prose prevails.
Parameters · The specific variables
parties: supplier: "Supplier A" buyer: "Buyer B" quantity: 100 delivery_by: 2027-03-31 payment_days: 14 governing_law: "to be agreed" prevails: prose
Code · Machine-checkable steps
on delivery_confirmed(date):
if date <= delivery_by:
status = "delivered on time"
else:
status = "late: refer to the parties"
payment_due = date + payment_daysThis is a simplified illustration for teaching. It is not a template and is not suitable for use in any transaction.
What it is, and what it is not
- It is a design pattern, developed by Ian Grigg with Gary Howland in 1995 and 1996, that lets people and software refer to exactly the same signed text.
- It does not settle anything by itself. Whether such a document is binding, what it means and how it is enforced depend on the applicable law and the facts.
Read more in Module 6, or study the technical side at lex.clinic.