Skip to content

Making client-side proving on mobile simple.

License

Notifications You must be signed in to change notification settings

edevaldonunez/mopro

 
 

Repository files navigation

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.

About

Making client-side proving on mobile simple.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 49.0%
  • Circom 17.1%
  • Rust 16.7%
  • C 8.9%
  • Shell 4.7%
  • JavaScript 2.7%
  • Other 0.9%