OpenViSTAI · Agents · Blockchain · Crypto
Menu
ZK & Privacy

Stoffel

Stoffel is a Rust-based developer toolchain for writing, compiling and running programs that compute over private inputs using secure multi-party computation. Developers mark secret values in StoffelLang source; the compiler produces bytecode for a VM that supports local and distributed MPC execution.

Independent OpenViST project profile, based on linked sources.

Stoffel — OpenViST project profile in ZK & Privacy.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Stoffel when developing computations over private data where secret inputs should not be exposed in the clear to any single party, and where you need a compiler-backed workflow with local or distributed MPC execution.

Who it is for

  • Developers building programs that compute over private inputs held by multiple parties.
  • Rust application developers who want to embed Stoffel compilation, execution or MPC configuration through its SDK.
  • Developers integrating the VM from C-compatible environments using its public C header and FFI.

Documented uses

  • Create Stoffel projects and write programs in `.stfl` source files.
  • Check, compile and inspect programs, producing `.stflb` bytecode.
  • Run programs locally with supplied inputs or configure execution against network nodes.
  • Embed Stoffel functionality in Rust applications or use its C-compatible VM interface.
Before you choose

Requirements & limits

The project is open source under the Apache-2.0 license. The documented CLI installer places the command in `~/.local/bin` by default.

  • The CLI works with StoffelLang .stfl source and .stflb bytecode.
  • Local CLI execution requires the separate stoffel-run MPC runner.
  • Network execution uses SDK network configuration; connecting to real node addresses requires network configuration.
  • The repository includes Rust SDK and C FFI components in addition to the CLI, language compiler and VM.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install the Stoffel CLI and start a local project

Install the CLI, create a project and run it with local inputs.

Before you start

  • A shell environment that can run the documented installer.
  • The Stoffel CLI installer also provides the stoffel-run runner needed for local execution.

Steps

  1. Run the command below to install the CLI.

    Documented command
    curl -fsSL https://get.stoffelmpc.com | sh
  2. If needed, add $HOME/.local/bin to PATH, then run stoffel --help.

  3. Run stoffel init hello-mpc and cd hello-mpc.

  4. Run stoffel run --input a=40 --input b=2.

Expected outcome

A newly created Stoffel project is run locally with the supplied inputs.

Guide limitations

  • Local runs require stoffel-run; the installer places it beside the CLI. For other installation methods, the runner must be available on PATH or supplied using --runner or STOFFEL_RUN_BIN.
  • The example describes a local run, not execution across a distributed network.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
Stoffel-Labs/stoffel · Official homepage title · retained in its source language