| Crates.io | mopro-cli |
| lib.rs | mopro-cli |
| version | 0.3.4 |
| created_at | 2025-06-17 08:22:04.288808+00 |
| updated_at | 2026-01-19 02:43:47.879311+00 |
| description | A CLI tool for creating a mobile native app with Mopro FFI |
| homepage | |
| repository | https://github.com/zkmopro/mopro |
| max_upload_size | |
| id | 1715406 |
| size | 893,283 |
What is MoPro?
MoPro stands for Mobile Prover — a framework designed to simplify the development of client-side zero-knowledge (ZK) proof systems on mobile platforms.
👉 Visit zkmopro.org to learn more about using MoPro and MoPro CLI.
Mopro CLI is a developer-friendly command-line tool that simplifies building native mobile apps with mopro-ffi. It streamlines the integration process and offers powerful customization options.
mopro-ffi—currently supporting Circom, Halo2, and Noir. You can also integrate your own Rust crate. See Custom Adapters for details.mopro CLI automates UniFFI, flutter_rust_bridge, uniffi-bindgen-react-native and wasm-bindgen with rayon bindings and configures Xcode, Android Studio, flutter, react native, and web for you.cargo install mopro-cli
git clone https://github.com/zkmopro/mopro
cd mopro/cli
cargo install --path .
mopro --help
or
mopro init --help
to see instructions for each command.
mopro init
mopro build
or
mopro build --auto-update
mopro create
mopro update
or
mopro update [--src PATH] [--dest PATH] [--no-prompt]
By default mopro update looks for bindings and mobile projects in the current
directory. Use --src to point to a bindings directory and --dest to target a
specific mobile project located elsewhere. Frequently used destinations can be
stored in Config.toml under an update section:
[update]
ios_dest = "../MyiOSApp"
android_dest = "../MyAndroidApp"
mopro bindgen
You can customize the bindings generation:
Choose a witness generator adapter (default rust-witness):
mopro bindgen --adapter witnesscalc
Specify the output directory for generated bindings:
mopro bindgen --output-dir ./output
A simplified command for mopro init, mopro build and mopro create.
mopro construct
After cloning the repository, you can install the CLI locally with your changes by running:
git clone https://github.com/zkmopro/mopro
cd mopro/cli
cargo install --path .
This work was initially sponsored by a joint grant from PSE and 0xPARC. It is currently incubated by PSE.