iden3 / circuits

Circom circuits used by the iden3 core protocol.
GNU General Public License v3.0
82 stars 14 forks source link

Complete credential circuit #8

Closed ed255 closed 4 years ago

ed255 commented 4 years ago

I didn't add an ASCII diagram of the circuit as it would be quite large. Nevertheless I divided all the functionality into small components so that hopefully it can be easy to understand and reason about.

The credential circuit now allows the following:

The inputs have been generated with test/testvectorsgen/credential_test.go which depends on https://github.com/iden3/go-iden3-core/pull/374

ed255 commented 4 years ago

@arnaucube I have kept the original code you wrote for credential (renamed it with old suffix). But maybe we can delete it?

ed255 commented 4 years ago

I have added a new commit with