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

  1. Database: MongoDB
  2. 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, type }

address is the wallet address of the user, type is the network type.

Response

Body:

{ nonce }

Returns nonce, a pseudorandom string.

`/auth/verify
Request

Query parameters: none Headers: “content-type: application/json” Body:

{ type, message, address, signature }