Daily loop
stoffel check validates source and MPC settings without writing bytecode. stoffel build writes .stflb bytecode. stoffel run executes the program through the local MPC test network unless you pass --network with a deployment config.
Watch mode
Run once for scripts or CI:stoffel dev watches Stoffel.toml and the configured .stfl sources, rebuilds, and reruns when files change. Tune file polling with --poll-ms.
Inputs
Named function inputs use--input:
ClientStore.take_share(0, 0) reads input index 0 from client slot 0.
Rust app wrapper
A practical Rust app flow is:- Build the Stoffel program with the CLI.
- Load the produced
.stflbartifact from Rust. - Pass only the private portion of the request to Stoffel.
- Continue ordinary application logic with the returned output.