You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/verifier/circuits.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The following is the overview of the most important `circom` circuits used in Pr
26
26
## 1. stateTransition
27
27
28
28
**Circuit Purpose:**
29
-
Validates an identity state transition from an `oldUserState`to a `newUserState`, ensuring the identity owner is the one making the update.
29
+
Validates an identity state transition from an old user state to the new one, ensuring the identity owner is the one making the update.
30
30
31
31
**Usage Notes:**
32
32
@@ -67,15 +67,14 @@ Same as `credentialAtomicQueryMTPV2`, but with support for output optimizations,
67
67
**Usage Notes:**
68
68
69
69
- Designed for on-chain verifiers.
70
-
- Relies on a trusted setup (typical of v2 circuits).
71
70
72
71
## 5. credentialAtomicQuerySigV2
73
72
74
73
**Circuit Purpose:**
75
74
Similar to `credentialAtomicQueryMTPV2` but for credentials that are signed by the issuer's BabyJubJub key rather than being included in the issuer’s Merkle Tree. It:
76
75
77
76
- Verifies the issuer’s signature over the core claim representation of a W3C credential (including the Merkle root of the JSON-LD document).
78
-
- Checks that the BabyJubJub key is included in the issuer state (which is either at genesis or published on-chain).
77
+
- Checks that the BabyJubJub key is included in the issuer state (which is either at genesis or published on-chain) and that key is not revoked in the latest issuer state.
79
78
80
79
**Usage Notes:**
81
80
@@ -131,7 +130,7 @@ Designed for smart contract verifiers, this circuit builds on `credentialAtomicQ
131
130
- If authentication is enabled, the Prover must demonstrate identity ownership in the same way as `authV2` before the proof is accepted.
132
131
- The reduced set of public inputs lowers the overhead for smart contract verification, making it more efficient for complex or frequent credential proofs on Ethereum.
133
132
134
-
## 9. linkedMultiQuery10.circom
133
+
## 9. linkedMultiQuery10-beta.1
135
134
136
135
**Circuit Purpose:**
137
136
Generates a single proof capable of verifying up to **10 parameters** in a single query. This allows multiple credential attributes or conditions (e.g., age, location, graduation) to be checked together, simplifying and streamlining multi-parameter verifications.
0 commit comments