mirror of
https://github.com/selfxyz/self.git
synced 2026-01-23 13:38:04 -05:00
- Copying the whole witnesscalc repo in `app` - Using git submodule for `nlohmann/json`, might switch later to script that clones the repo if it's simpler - Currently not supporting download of zkey, so it temporarily has to be built and copied first - Keeping artifacts of their AuthV2 circuit for reference
Proof of Passport Circuits
Proof of Passport circuits verify signatures of passport-emitting authorities.
🚧 under heavy development 🚧
Requirements
Install circom and nodejs v18
Installation
yarn
Build circuits (dev only, not secure)
./scripts/build_circuit.sh
Run tests
yarn test
This will run tests with sample data generated on the fly.
To run tests with your own passport data, extract your passportData.json using the app (available soon), place it in inputs/, then run yarn test