mirror of
https://github.com/selfxyz/self.git
synced 2026-01-23 05:28:02 -05:00
Proof of Passport Prover
This repository contains the code for the proof of passport 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