Hybrid TEE-ZK Layer2

DeepSol is a cutting-edge decentralized network designed to facilitate secure and efficient AI computations within the Web3 ecosystem, combining blockchain technology with advanced AI capabilities and robust security mechanisms.

Key Metrics:

  • Chain Storage: 0.3% (input/output/Transformer 8/16/24-layer hashes)

  • Attestation Cycle: ≤24h for node compliance checks.

User Request → TEE Cluster (Model Inference) → ZK Proof Generation → On-Chain Validation (Solana) 

Node Types:

Role
Hardware
Reward Mechanism

Validator

Intel TDX/AMD SEV

Staking rewards + fees

Edge Node

Consumer GPUs

Per-request micropayments

Combining TEEs and ZK-SNARKs

DeepSol's innovative hybrid trust model integrates TEEs with ZK-SNARKs to create a robust framework for secure and verifiable AI computations. This combination ensures that sensitive data remains confidential during processing while allowing the network to trust the computation results without revealing the underlying data or model details.

Enhanced Security and Privacy

By leveraging hardware-based TEEs, DeepSol provides a higher level of security compared to software-based solutions. The isolation and encryption features of TEEs protect against external attacks and data leaks, making it suitable for handling sensitive AI tasks.

// prover-verifier structure
# Miner generate proof
def generate_proof(task):
    with tee_secure_env():  # TEE environment
        output = model.inference(task.input)
        layer8_hash = sha256(model.get_layer_output(8))
        zk_proof = zk_plonk(output, layer8_hash)
        ...
    return SignedData(output, zk_proof, tee_attestation)

# Verifier
def verify_task(proof):
    assert verify_tee_report(proof.attestation)  # TEE verification
    assert zk_plonk_verify(proof.zk_proof)       # Proof verification
    assert check_chain_hash(proof.layer8_hash)   # Chain verification

Last updated