Run a node
Running a Node for Local Development
For local development, the ZK Compression CLI test-validator
command starts a single-node Solana cluster with all relevant nodes (Photon RPC and Prover), system programs, accounts, and runtime features:
Light Forester Node
Developers may choose to have their program-owned state trees serviced by a network of Light Forester nodes. These nodes manage the creation, rollover, and updating of shared and program-owned state trees. Any Solana account can register as a Light Forester node operator.
Servicing program-owned state trees is permissionless, so you can self-host a standalone node.
Photon RPC Node
RPC nodes index the compression programs, enabling clients to read and build transactions for compressed state.
Helius Labs is building and maintaining the canonical RPC implementation. See the Github repo for more info:
Prover Node
Provers can generate validity proofs for state inclusion on behalf of app and wallet developers.
Prover nodes can be operated either stand-alone or with an RPC node: in its default configuration, the canonical 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:
Last updated