Skip to content
DimensionLab

Libraries

Foldstate

Deterministic statecharts with replay, branching, and an event log.

View source on GitHub

About Foldstate

Foldstate models behavior as state, events, and explicit effects. Its deterministic kernel supports replay and inspection, making it useful for understanding how a workflow reached its current state. It can be used independently of Frontier.

  • Represent statecharts as data.
  • Replay, fork, and restore event histories.
  • Run a no_std + alloc kernel natively or in WebAssembly.

Before you use it

A general-purpose state machine library. Applications are responsible for executing the effects it returns.

See how it connects to Frontier