mirror of
https://github.com/selfxyz/self.git
synced 2026-02-21 03:00:36 -05:00
Co-authored-by: seshanthS <seshanth@protonmail.com> Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com> Co-authored-by: thomas-senechal <thomas.senechal@pm.me> Co-authored-by: motemotech <i.am.nicoshark@gmail.com> Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com> Co-authored-by: ayman <aymanshaik1015@gmail.com>
OpenPassport Prover
This repository contains the code for the OpenPassport DSC/CSCA prover. The prover runs on the modal server and generates a witness with snarkjs and a proof with the old version of rapidsnark.
Installation
install requirements.txt
pip install -r requirements.txt
Usage
launch modal server
./import_circuit.sh
modal deploy dsc_prover.py --name dsc_prover
Test
create a test/csca_inputs.json file with the inputs for the CSCA circuit and run the request.py script
cd test
python request.py