Architectural Flow
Last updated
Last updated
In essence, the interplay between zkRollups, Polygon CDK, and the integration of EVM and TON creates a cohesive and powerful blockchain architecture. This architecture is built on four key layers, each of which plays a critical role:
Execution Layer (EL): Handles the processing of transactions and execution of smart contracts.
Consensus Layer (CL): Ensures that all participants agree on the current state of the network.
Data Availability Layer (DA): Guarantees the availability of data necessary for transaction validation.
Settlement Layer (SL): Manages the finality of transactions, dispute resolution, and verification.
The following diagram, adapted from Polygon CDK, illustrates how the rollup process integrates with TONSquareโs modular architecture, visualizing the flow of data through aggregation, validation, and finalization across the key components of the blockchain:
Sequencer: Collects and batches transactions before sending them for validation.
Aggregator: Consolidates data and generates cryptographic proofs for verification.
Prover: Verifies the integrity of the transactions using zk-SNARKs.
Synchronizer: Keeps the state of the blockchain updated by reading events and blocks.
State: Maintains the current state of the blockchain.
RPC and Pool: Handle the addition of new transactions and manage communication between different layers of the blockchain.