EJLThe Trust StackEdited by Emma-Jane MacKinnon-Lee
Economy

The machine-to-machine economy, carefully

Devices that sell measurements, compute or energy to one another need a way to prove the work was done. Signed, attested receipts, small exposures and markets kept at the boundary make that possible without surveillance.

By Emma-Jane MacKinnon-Lee, editorUpdated 5 November 202614 min read
Emmajanemackinnonlee explainer on the machine-to-machine economy: gateway collecting signed receipts from sensors
A gateway aggregating signed receipts.

What is being exchanged

The phrase machine economy is often used loosely. Here it means something specific: devices that pay or credit one another for real, physical work. A weather station supplies a measurement to an irrigation controller. A solar inverter supplies energy to a neighbour's battery. A gateway with an accelerator runs inference for sensors too small to do it themselves. A charging point supplies energy to a vehicle. In each case, something measurable happened in the physical world.

Anchoring value in physical work is a deliberate choice. It keeps the economy honest in a way that purely financial tokens cannot, because every unit of value corresponds to an event that a sufficiently trusted device observed.

Receipts before payments

Before any value moves, the paying machine needs to know what it is paying for. The basic unit is a receipt: a small signed structure stating which device did the work, in what software state, how much work was done and when. Encoded in CBOR and signed with COSE using a key derived from the device's root of trust, a receipt can be a few hundred bytes. Attached to it, or referenced by it, is an attestation result showing that the signing device was running approved firmware at the time.

Receipts can be checked by peers, aggregated by gateways and committed in batches, for example as the root of a Merkle tree, so that any individual receipt can later be proven to have been included without publishing all of them.

Small exposure, boundary markets

Machines will be compromised. A design that assumes otherwise is not a design. The economic response is to keep the value at stake in each interaction small, so that a compromised device can do only limited harm before its behaviour is noticed and its attestation revoked. Many small, verifiable interactions are safer than a few large, opaque ones.

Pricing, markets and settlement into conventional money belong at the boundary of the system: a gateway, a cooperative, an operator dashboard, where humans can see aggregate behaviour and intervene. Inside the boundary, machines exchange receipts. At the boundary, people decide what those receipts are worth.

Privacy as a design constraint

An economy of devices can easily become an economy of surveillance, because every receipt says something about where a device was and what it did. Local confidential computing helps here: receipts can be aggregated inside a TEE on the gateway, and only totals released. Selective disclosure techniques can prove a property of a set of receipts without revealing each one.

The full chain is now visible. Regional fabrication makes the root of trust auditable. The root of trust anchors attestation. Attestation makes edge results believable. Believable edge results make it possible for machines to exchange value privately and safely. Each explainer on this site describes one link.

Standards and projects named
  • COSE and CBOR
  • IETF RFC 9334
  • TCG DICE
  • Merkle tree commitments
Glossary terms in this explainer
Read next