The zkCompression Layer is the final stage in the Cubane Cubic Consensus Mechanism (CCCM), tasked with compressing validated transaction data into compact, cryptographically secure proofs for on-chain storage. This layer enhances the CCCM architecture by reducing the on-chain footprint while maintaining a robust off-chain record for auditing purposes.

The zkCompression layer is responsible for Data compression, finality of transactions and on-chain integration.

Understanding the flow within zkCompression Layer:

The zkCompression Layer collects zk-proofs and associated transaction metadata from the Validation Layer. Each batch of zk-proofs includes:

Compression Algorithm

The core function of this layer is the compression algorithm, which operates as follows:

  1. Merkle Tree Construction:
  2. Recursive zk-Proofs:
  3. Hash Generation:
  4. Off-Chain Metadata Creation:

On-Chain Storage

Reward Distribution