zk-passport / proof-of-passport

Proof of passport protocol using zk-SNARKs
https://proofofpassport.com
260 stars 38 forks source link

Age range check #75

Closed 0xturboblitz closed 4 months ago

0xturboblitz commented 4 months ago
remicolin commented 4 months ago

This PR adds a range check for user age, closing #41

Two inputs have been added to the main circuit:

The SBT has been extended with one attribute: older_than, which will have majority[2] as its value.