Skip to main content
Create projects with stoffel init, edit src/main.stfl, and keep project settings in Stoffel.toml.

Create a project

Useful template options:
Use --force only when you intentionally want to write template files into an existing directory.

Default layout

src/main.stfl is the private computation. src/main.rs is the Rust wrapper for app-side execution. stoffel_bindings.rs contains generated program metadata used by Rust code.

Manifest

Use CLI flags such as --parties, --threshold, --backend, and --field to override these settings for a single command.

Build artifacts

Debug artifacts are written under target/debug/; release artifacts under target/release/. Compiled programs use the .stflb extension.

Project health

Use status to confirm the CLI can find project files, source files, and build output.