πŸš€ Getting StartedQuick StartπŸ›οΈ Cyferio SDK Architecture Overview

πŸ“œ Cyferio SDK Architecture Overview

Key Components

  1. Module System Interface (STF):
    • Composable State Module: Supports composable stateful and stateless modules, allowing developers to build highly adaptable and secure applications.
    • FHE Module: Leverages the TFHE-rs library for performing computations on encrypted data, ensuring data privacy during processing.
  2. zkVM / XVM Interface:
    • Optimistic & Verifiable Interface: Provides support for different types of zkVMs (e.g., RISC0, SP1) to handle verifiable computations.
    • XVM Runtime: Supports virtual machines (e.g., EVM, SVM, MoveVM) for executing smart contracts. Includes hooks for FHE, which allow native or pre-compiled FHE operations.
    • FHE Hooks: These enable the integration of FHE functionalities within the virtual machine execution environment, making it possible to perform computations on encrypted data.
  3. Data Availability / Settlement Interface:
    • DA Adapter: Allows the Cyferio SDK to interact with various data availability layers such as Celestia, Ethereum, and Bitcoin. This component ensures that data availability and settlement occur securely and efficiently across different blockchain ecosystems.
  4. Threshold Service Network:
    • Secure Key Management: Ensures that encryption keys are managed securely, with access strictly controlled.
    • Robust FHE Key Generation: This component is responsible for creating the keys necessary for FHE operations using secure multi-party computation (MPC) protocols.
    • Threshold Decryption: Using MPC, the decryption process is decentralized so no single party can compromise the encrypted data.

Cyferio SDK Architecture
Cyferio SDK Architecture

Interaction Between Components

Cyferio SDK’s architecture is highly modular, allowing components to work together in a seamless manner. These components interact as below:

  • FHE and Secure Data Processing: Data enters the system as plaintext or ciphertext. The Threshold Service Network ensures secure key generation and decryption, while the FHE Module enables functionalities on encrypted data.
  • Execution and Interoperability: The Module System Interface handles the execution of stateful and stateless operations, while the zkVM Interface ensures that all computations are verifiable. Virtual machines like EVM or MoveVM execute smart contracts, while FHE hooks allow computations on encrypted data.
  • Data Availability and Settlement: The Data Availability Interface interacts with different blockchains, ensuring that data availability and settlement are handled across multiple networks like Ethereum and Bitcoin.