Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.37 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.37 KB

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

Prepare

Build Bindings

To build bindings for iOS simulator debug mode, run

./scripts/build_ios.sh simulator debug

Open the mopro-ios/MoproKit/Example/MoproKit.xcworkspace in Xcode.

Bindings

To update bindings, run ./scripts/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.