RPC URLs
- Mainnet
- Devnet
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.- V2 (Default)
- V1 (For ZK)
Address Trees & Queues
- V2
- V1 (Deprecated)
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.
ExtendLookUpTables.ts
ExtendLookUpTables.ts
System Accounts List
| 1 | Verifies validity proofs, compressed account ownership checks, and CPIs the Account Compression Program to update tree accounts. | |
| 2 | CPI Signer |
|
| 3 | Registered Program PDA | Provides access control to the Account Compression Program. |
| 4 | Signs CPI calls from the Light System Program to the Account Compression Program. | |
| 5 |
| |
| 6 | Solana System Program used to transfer lamports. |