Crates.io | mopro-ffi |
lib.rs | mopro-ffi |
version | |
source | src |
created_at | 2024-07-26 07:23:44.242437 |
updated_at | 2025-02-14 11:13:16.348133 |
description | Mopro is a toolkit for ZK app development on mobile. Mopro makes client-side proving on mobile simple. |
homepage | https://zkmopro.org/ |
repository | https://github.com/zkmopro/mopro |
max_upload_size | |
id | 1315883 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
mopro-ffi
is a tool designed to assist programmable cryptography application or rust application developers in efficiently creating bindings for client-side targets.
Key features include:
circom
, halo2
.swift
, kotlin
.src/mopro.udl
file.mopro-ffi
into your project.Integrate the mopro-ffi
like the above tutorial.
Update the src/mopro.udl
file to add the functions you want to export. Check out how to define the functions in UDL file: UniFFI: The UDL file
pub fn hello_world() -> String {
"Hello World!".to_string()
}
and define the function in the UDL file like:
namespace mopro {
// ...
string hello_world();
}
Run cargo run --bin ios
or cargo run --bin android
again.
This work was initially sponsored by a joint grant from PSE and 0xPARC. It is currently incubated by PSE.