/mopro-test

Primary LanguageSwiftApache License 2.0Apache-2.0

mopro

Making client-side proving on mobile simple.

Overview

This is a WIP.

  • mopro-core - core mobile Rust library.
  • mopro-ffi - wraps mopro-core and exposes UniFFI bindings.
  • mopro-ios - iOS CocoaPod library exposing native Swift bindings.
  • mopro-example-app - example iOS app using mopro-ios.

Architecture

The following illustration shows how mopro and its components fit together into the wider ZKP ecosystem:

mopro architecture (full)

Zooming in a bit:

mopro architecture

Bindings

To update bindings, run ./script/update_bindings.sh simulator|device debug|release.

  • simulator is for building library to run on iOS simulator, device is for running on a real device
  • debug is for Rust library to be in debug mode and release for release mode

Acknowledgements

This work is sponsored by a joint grant from PSE and 0xPARC.