Node Operators
Set up ZK Compression infrastructure, learn how to run Forester nodes, Photon indexers and Prover nodes.
Node Operators
Developers don't need to run any nodes to use ZK Compression.
To connect to public networks (i.e., Devnet, Mainnet-Beta), you can either work with an RPC infrastructure provider that supports ZK Compression, such as Helius Labs, or run your own nodes.
Photon Indexer Node
Indexer nodes use an existing connection to a Solana RPC full node to parse the transactions involving Light Protocol programs, enabling clients to read and write zk-compressed state.
The canonical ZK Compression indexer is named Photon and is maintained by Helius Labs. It is fully open-source, and can be run locally. To set it up, simply point it to an existing Solana RPC. See the Github repo for more info.
Prover Node
Provers generate validity proofs for state inclusion and PDA uniqueness on behalf of app developers
Prover nodes can be operated either standalone or with an RPC node: in its default configuration, the Photon RPC node implementation by Helius Labs bundles a Prover node. The ZK Compression RPC API specification supports proof generation via the getValidityProof
endpoint, making it easy to serve proofs using regular RPC methods via the same port.
Please refer to the Github repo for more info:
Forester Node
These nodes manage the creation, rollover, and updating of shared and program-owned state trees. Running a forester node is permissionless for your own state trees.
Last updated