
| Creation Cost | Solana | ZK Compression |
|---|---|---|
| Token Account | ~2,000,000 lamports | ~5,000 lamports |
| 100-byte PDA | ~1,600,000 lamports | ~15,000 lamports |
Features
Light Token Program (Beta)
High performance token standard that uses ZK Compression under the hood. For
Defi and Payments.
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.
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.