Files
self/prover
2024-06-25 12:21:11 +02:00
..
2024-06-25 11:52:39 +02:00
2024-06-25 12:00:27 +02:00
2024-06-25 12:21:11 +02:00
2024-06-25 12:21:11 +02: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