# ZK Rollups

<figure><picture><source srcset="https://3424833029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqONwtSRjPgxzH86vhkVm%2Fuploads%2Fdu4FdeL8SkGKrDYiPSY2%2FZK_dark.jpg?alt=media&#x26;token=ea2f8f52-c058-42ed-98b0-ddef8bb3a7fb" media="(prefers-color-scheme: dark)"><img src="https://3424833029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqONwtSRjPgxzH86vhkVm%2Fuploads%2FGtgaiAWojQq1u4BOkanS%2FInner_ZK.jpg?alt=media&#x26;token=8e77bb2d-7764-4c61-bd74-b7fdb3d8533c" alt=""></picture><figcaption></figcaption></figure>

_\*Sequencers_ is responsible for batching transactions from various users into ordered blocks, and then committing to an order of those blocks. The order can be arbitrary or subject to rollup-specific constraints. The important thing is that the order is public and immutable: all rollup users at all times should agree on the relative ordering of blocks.

_\* RPC -_ stands for remote procedure call, and RPC nodes allow applications to communicate with the blockchain. Protocols may opt for private RPC endpoints, as these can improve a blockchain application's security by offering front-running protection, shielding transactions from the public mempool.

_\* Synchronizer_ ensures that nodes are automatically receiving all the necessary data from the peer nodes as well as it verifies the blocks and validates signatures until the blockchain is fully sychronized with the current state.

_\* Prover_ executes the rollup's state transition function, usually some abstract machine in which transactions represent programs to execute. By executing this function, the prover computes and stores a Virtual Machine state which is a deterministic result of the ordering of blocks produced by the sequencer.

_\* Aggregator_ indexes and aggregates blockchain data from multiple Web3 ecosystems. These platforms may use DApps, oracles, or APIs to collate data from different Web3 platforms into a single interface.

ZK Rollups are an advanced layer 2 scaling solution that significantly increase transaction throughput while maintaining the security and decentralization of the underlying blockchain. They achieve this by bundling multiple transactions into a single proof, which is then verified on the main chain. Here’s how ZK Rollups work within Wirex Pay:

* High Throughput: By processing numerous transactions off-chain and submitting a single proof, ZK Rollups can handle thousands of transactions per second, vastly improving scalability.
* Cost Efficiency: Bundling transactions reduces the amount of data processed on-chain, lowering transaction costs and enhancing efficiency.
* Security and Integrity: The use of Zero Knowledge proofs ensures that transaction data is verified securely without exposing sensitive information, maintaining the integrity of the blockchain.
