feat: add provekit Noir proof generation bindings#7
Conversation
CORE-691 Integrate proof generation/verification of Noir circuits with ProveKit backend to zINK
WhatImplement a library to generate and verify Noir circuits with the ProveKit backend. WhyWe want to derive our native modules (Swift and Kotlin modules to be used in our React Native app) from a single source of truth (our Rust library) HowSomething similar to what MoPro has done with Barretenberg. A Rust library, with bindings generated by UniFFI. Dependencies
Specs
NotesFor the Rust library making UniFFI bindings to generate Noir proofs with ProveKit, I've done a NoirProver class (i.e. struct + impl decorated by
I've updated the app UI to include three buttons with an example circuit which computes a Poseidon hash
BugsThe iOS app works perfectly, but the Android app crashes instantly after the app is bundled The root cause was the
When adding new native modules, remember to re-run the script |
Eikix
left a comment
There was a problem hiding this comment.
ploz:
- rebase
- incorporate react query in your frontend proving flow
- test locally on both devices
after that, lgtm 🐦🔥🔥
d3af1c4 to
9da180c
Compare
|
GitHub Build Trigger Failure The build trigger failed with the following error: Check your GitHub app installation settings and your Expo project's GitHub settings to make sure you've configured everything correctly. |
1 similar comment
|
GitHub Build Trigger Failure The build trigger failed with the following error: Check your GitHub app installation settings and your Expo project's GitHub settings to make sure you've configured everything correctly. |
Eikix
left a comment
There was a problem hiding this comment.
lgtm, let's merge after the two other PRs, to make sure it builds on the new CI job
Resolves CORE-691