Skip to content

vibelyova/airbender-platform

 
 

Repository files navigation

Airbender Platform

Airbender Platform is a Rust toolkit for writing RISC-V zk-provable programs.

You write a guest program (the code you want to prove) and a host program (the native Rust code that feeds inputs, runs the guest, and generates/verifies proofs). The platform handles compilation, execution, proving, and verification.

What's Inside

cargo airbender - CLI for the full development lifecycle:

  • new - scaffold a host+guest project
  • build - compile guest artifacts (--reproducible for deterministic Docker builds)
  • run - execute a guest binary
  • flamegraph - profile guest execution
  • prove / verify-proof - generate and verify proofs from the command line

Guest SDK (airbender-sdk) - everything your guest program needs:

  • Entry point macro, std support, allocator selection
  • Typed input from host, output commitment
  • Cycle markers for profiling
  • Prover-accelerated crypto primitives

Host SDK (airbender-host) - drive guest programs from native Rust:

  • Load and run RISC-V binaries
  • Generate verification keys, prove execution, verify proofs
  • Collect cycle-marker snapshots from transpiler runs

Documentation

Read the Airbender Platform Book for the full user guide. Browse the workspace API docs for the current main branch rustdocs.

The book source lives in docs/. To build locally:

cargo install mdbook
mdbook serve docs

Examples

Complete guest + host examples are in examples/.

Status

This repository is under active development.

Policies

License

Airbender Platform is distributed under the terms of either

at your option.

About

Developer stack for ZKsync Airbender

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 99.7%
  • Other 0.3%