Skip to content

zkmopro/benchmark-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mopro benchmark-app

This is a benchmark app for mopro. It compares different Groth16 adapters in terms of performance for mobile devices.

See slides for presentation given during SigSing Residency. Also see circom benchmarks for more benchmarks on desktop.

Running the app

Join the Testflight.

Development

Make sure you've followed the general getting started steps for mopro and have mopro-cli installed.

Then run the following commands:

# Clone the mopro repo
git clone git@github.com:zkmopro/benchmark-app.git

# Go to your newly cloned checkout
cd benchmark-app

# We use the benchmark app Mopro checkout as MOPRO_ROOT
export MOPRO_ROOT=$(PWD)

# Go to mopro-example-app folder
cd mopro-example-app

# Install `mopro` dependencies
mopro deps

# Prepare circuit artifacts
mopro prepare

# Build for iOS
mopro build --platforms ios

# Open in Xcode to run on device
open ios/ExampleApp/ExampleApp.xcworkspace

Future work

  1. Expand app with Tachyon support, see zkmopro/mopro#143
  2. Add Android support
  3. Integrate most promising solutions into mopro, see zkmopro/mopro#146
  4. Add more relevant adapters/proof systems as they become available

Acknowledgements

This app was initially made during SigSing Residency in Osaka, May 2024.