This is the proof-of-concept project of Ziden protocol with circuits written in Noir
In this first version, we have completed the Noir circuits, test scripts as well as the TS scripts that serve the protocol's logic as specified in the Protocol-specs
They are core data structure of the protocol, enabling succinct membership and non-membership verification, currently supporting:
- Membership check
- Non-membership check
- Single insertion
Upcoming features:
- Variable arity
- Batch insertion
Digital signatures are used in the protocol as a principal authorization mechanism, in this version, we support 2 algorithms:
- EdDSA
- ECDSA
- Node version >= 16
- Nargo installed: See installation guide
- Install dependencies:
npm i
- Compile Noir circuits:
./compile.sh
- Test claim features
npm run test-claim
- Test indexed merkle tree features
npm run test-indexed-merkle-tree
- Test state features
npm run test-state
- Test claim presentation process
npm run test-claim-query
-
Solidity smart contracts for proof verification and identity state management
-
User interface for holders
-
Server for issuers
-
Server and smart contracts for verfiers