Closed ed255 closed 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?
I have added a new commit with
credentialDemoWrapper.circom
as a usage example of credential.circom
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:
idOwnershipGenesis.circom
The inputs have been generated with
test/testvectorsgen/credential_test.go
which depends on https://github.com/iden3/go-iden3-core/pull/374