Skip to main content

RPC URLs

Find all JSON RPC Methods for ZK Compression here.

Program IDs

State Trees & Queues & CPI Accounts

In your local test validator environment use in Rust TestAccounts::get_local_test_validator_accounts() to get all pre-configured protocol, state tree, and address tree accounts.

Address Trees & Queues

Interface PDA

The account to convert format between:
  • compressed token ↔ SPL token
  • compressed token ↔ SPL token

Lookup Tables

Lookup tables reduce your transaction size. We provide pre-initialized lookup tables that cover the Light’s program IDs and accounts:
We provide a helper function below if you need to extend a custom lookup table.

System Accounts List

1Verifies validity proofs, compressed account ownership checks, and CPIs the Account Compression Program to update tree accounts.
2CPI Signer
  • PDA to sign CPI calls from your program to the Light System Program.
  • Verified by the Light System Program during CPI.
  • Derived from your program ID.
3Registered Program PDAProvides access control to the Account Compression Program.
4Signs CPI calls from the Light System Program to the Account Compression Program.
5
  • Writes to state and address tree accounts.
  • Clients and the Account Compression Program do not interact directly — handled internally.
6Solana System Program used to transfer lamports.

Didn’t find what you were looking for?

Reach out! Telegram | email | Discord