Skip to main content
Solana AccountCompressed AccountCost Reduction
100-byte PDA Account0.0016 SOL~ 0.00001 SOL160x
100 Token Accounts~ 0.2 SOL~ 0.00004 SOL5000x

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

Quickstart

1

Installations

  • npm
  • yarn
  • pnpm
Install packages in your working directory:
npm install \
    @lightprotocol/stateless.js \
    @lightprotocol/compressed-token
Install the CLI globally:
npm install -g @lightprotocol/zk-compression-cli

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

Look up documentation, code examples and guides using the Docs’ AI assistant.

Using AI in Development

ToolsDescription
MCPConnect AI tools to the Light Protocol repository via Model Context Protocol
DeepWikiUse Deepwiki for advanced AI assistance with your development.
  • Claude Code
  • Codex
  • Most Clients (Windsurf, Cursor, ...)
claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
claude mcp add -s user -t http zkcompression https://www.zkcompression.com/mcp

AI Tools Guide

Resources

Learn & Community

Next Steps

Quickstart: Mint Compressed Tokens in less than 5 minutes