Clique Client SDK
The Clique Client SDK is an open-source library that enables users to interact with the Clique Network. We currently support Rust, NodeJS, and Web.
The SDK facilitates communication between your application clients and the Clique Network. Custom client implementation is also possible. The flowchart below depicts a simple communication process.

The client SDK executes two primary steps that are outlined in subsequent sections:
Forward the query and poll results from the network: Clique Query
Verify the proof upon receiving the response
Proof Verification
The proofs of each task are aggregated in an aggregation program that runs in our TEE kernel. Roughly, each executor provides a proof (eg. TEE attestation or trusted signatures) for their respective programs. The kernel then aggregates these proofs in its own TEE and produces a remote attestation of the execution results.
To fully understand the verification process, please refer to the official Intel SGX Remote Attestation Docs here.
Rust SDK
How to Use
Add this dependency to your Cargo.toml
Here is an example:
NodeJS SDK
How to Use
Add this dependency to your package.json:
Here is an example:
Web SDK
Add this dependency to your package.json:
Here is an example:
Last updated