Skip to content
01 · Receipt RelayEspañol
01 · 2024 — · Mesh, Signed receipts, Attestation

Receipt Relay

Solar mesh relays that forward packets for each other and are paid in signed receipts bound to an attested device state.

Lead: Emma-Jane MacKinnon-Lee · Emma-Jane MacKinnon-Lee studio

Receipt Relay is the studio's oldest machine-to-machine prototype and still the clearest. Each node is a small solar-powered board with a LoRa radio, a Cortex-M33 microcontroller using TrustZone-M, and a discrete secure element. When a node forwards a packet for a neighbour, the neighbour issues a receipt: a short CBOR structure naming the packet hash, the time window, the forwarding node's identity and the measurement of its firmware, signed with a key derived through DICE layering.

The forwarding node keeps the receipt. Later, when it needs a favour itself — a packet forwarded, a time sync, a battery-state report relayed to the gateway — it can present receipts as credit. No token, no chain, no exchange: just a log of who did what for whom, each entry checkable by any other node that holds the right reference values.

The interesting work has been on the failure cases. A node whose firmware changes stops producing receipts that verify, so its credit freezes. A node that lies about forwarding can be caught by the destination, which never sees the packet. A node that is stolen and reflashed loses its DICE-derived key. Each of these turns a security property of the hardware into a rule of the small economy, which is the whole point.

Kenneth Macleod keeps the relay receipt log: every receipt issued in the test network since 2024, with the reference values that were valid at the time. That makes it possible to re-verify old receipts after a firmware update and see which credits would have survived.

Emma-Jane MacKinnon-Lee Receipt Relay: attested mesh node that earns signed receipts for forwarded packets
A Receipt Relay node: radio, secure element, solar cell.
Stack
  • Cortex-M33 + TrustZone-M
  • Secure element
  • DICE
  • CBOR / COSE receipts
  • LoRa
  • RFC 9334 roles
Exposure per interaction

One forwarded packet; credit capped per node per day.