doutv / mopro-benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mopro-example-app

This is an example project generated by mopro-cli.

Documentation

See https://github.com/zkmopro/mopro

Usage

Prepare

# 1. Build complex-circuit under mopro root repo
cd $MOPRO_ROOT
# edit prepare.sh to build complex-circuit
./scripts/prepare.sh
# 2. Then copy the circuits to this project
cp -r ../mopro/mopro-core/examples/circom/complex-circuit ./core/circuits/complex-circuit
# Copy final.zkey and wasm to web/public, used in web prover
find ./core/circuits/complex-circuit/target -type f \( -name "*_final.zkey" -o -name "*.wasm" \) -exec cp {} ./web/public \;

Build

mopro build or mopro build --platforms ios

Test

mopro test

About


Languages

Language:Circom 96.6%Language:Swift 2.1%Language:Kotlin 0.5%Language:Rust 0.5%Language:TypeScript 0.3%Language:Ruby 0.0%Language:CSS 0.0%Language:JavaScript 0.0%