ZKL Architecture
This file defines the specifications of public implementations of the CCIR (Cross-chain Identity Registry) server. Please consult to the document “1. Elements” for a brief explanation of the CCIR.
Yigid BALABAN, [email protected]
Revision 1 05/10/2024
3. CCIR Server Specification
Technical Stack
- Database: MongoDB
- Backend: Express.js
The CCIR’s public implementation is realised as a REST API using Express.js on Node.js runtime.
API
Route auth
/auth/nonce
Request
Query parameters: none Headers: “content-type: application/json” Body:
address
is the wallet address of the user, type
is the network type.
Response
Body:
Returns nonce
, a pseudorandom string.
`/auth/verify
Request
Query parameters: none Headers: “content-type: application/json” Body: