
| Solana Account | Compressed Account | Cost Reduction | |
|---|---|---|---|
| 100-byte PDA Account | 0.0016 SOL | ~ 0.00001 SOL | 160x |
| 100 Token Accounts | ~ 0.2 SOL | ~ 0.00004 SOL | 5000x |
Rent-free Accounts
Create accounts without paying upfront rent.
L1 Performance
Execution and data availability on Solana.
Fully Composable
Compatible with existing programs and accounts.
Features
Compressed Tokens
Create SPL-compatible tokens 5000x cheaper.
Compressed PDAs
Store your app state in accounts with 98% less cost.
Quickstart
1
Installations
- npm
- yarn
- pnpm
Install packages in your working directory:Install the CLI globally:
2
What is ZK Compression?
ZK Compression is a framework that reduces the storage cost of Solana accounts by combining generalized state compression and .1
State Compression
- Normally data is stored in millions of on-chain accounts
- State compression stores account data on the .
- Only a fingerprint is stored on-chain for cryptographic security - a hash of all compressed accounts.
- This hash allows transactions to use the account data inside Solana’s virtual machine as if it were stored on-chain.
2
ZK
- The protocol uses 128 byte zero-knowledge proofs (validity proofs) to verify the integrity of the compressed accounts.
- By default, this is all done under the hood. You can fetch validity proofs from RPC providers that support ZK Compression.
Using AI in the Docs
Using AI in Development
| Tool | Description | Link |
|---|---|---|
| MCP | Connect AI tools to the Light Protocol repository via Model Context Protocol | Setup Guide |
| DeepWiki/AskDevin | Use AskDevin for advanced AI assistance with your development. |
AI Tools Guide
Resources
RPC Methods
Browse ZK Compression’s JSON RPC methods.
SDKs
Explore our TypeScript and Rust SDKs.
CLI Installation
Install the ZK Compression CLI for local development.
Learn & Community
Start Learning
Learn about ZK Compression’s core concepts.
Security
Read our external audit and formal verification reports.
Discord
Join our Discord for support and discussions.