In a Nutshell
High-level System Overview
State is stored as call data in Solana's ledger, resulting in no rent cost
Transaction Specify State: Transactions define the state they access (read/write) and include it in the transaction payload
State Validation:
Solana Programs invoke the Light Protocol System Program to update compressed state
The protocol validates the state (validity of read state, sum checks, ownership checks)
The protocol enforces a schema: Classic Accounts → Compressed Accounts. Compressed accounts have a layout similar to classic accounts
State Updates: At the end of a transaction, the new state is recorded as a log on the ledger
Photon RPC Nodes: These nodes index and persist the logs, making the compressed account state available to clients via the ZK Compression RPC API
Forester nodes (cranks): Interact with the Account Compression Program to empty queues, and roll-over trees, where compressed state is stored.
Last updated