ZK Compression
  • Introduction
    • Overview
    • Intro to Development
  • Event
    • 🗓️Event: 1000x Hackathon
  • Release Notes
    • JS - v0.21.0
  • Learn
    • In a Nutshell
    • Core Concepts
      • Compressed Account Model
      • State Trees
      • Validity Proofs
      • Lifecycle of a Transaction
      • Limitations
  • Developers
    • TypeScript Client
    • JSON RPC Methods
      • getCompressedAccount
      • getCompressedBalance
      • getCompressedTokenAccountBalance
      • getCompressedBalanceByOwner
      • getCompressedMintTokenHolders
      • getCompressedTokenBalancesByOwnerV2
      • getCompressedAccountsByOwner
      • getMultipleCompressedAccounts
      • getCompressedTokenAccountsByOwner
      • getCompressedTokenAccountsByDelegate
      • getTransactionWithCompressionInfo
      • getCompressedAccountProof
      • getMultipleCompressedAccountProofs
      • getMultipleNewAddressProofs
      • getValidityProof
      • getCompressionSignaturesForAccount
      • getCompressionSignaturesForAddress
      • getCompressionSignaturesForOwner
      • getCompressionSignaturesForTokenOwner
      • getLatestCompressionSignatures
      • getLatestNonVotingSignatures
      • getIndexerSlot
      • getIndexerHealth
    • Addresses and URLs
    • Creating Airdrops with Compressed Tokens
    • Using Token-2022
    • Add Compressed Token Support to Your Wallet
    • Create programs with the program-template
  • Node Operators
    • Run a Node
  • resources
    • Security
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. Learn

Core Concepts

ZK Compression is a new primitive on Solana that drastically reduces on-chain state costs while maintaining security, composability, and performance. ZK Compression allows developers to efficiently scale their applications to millions of users with the help of zero-knowledge proofs.

In the following sections, we'll dive into the core concepts that make ZK Compression possible:

  • Compressed Account Model: Understand how compressed accounts differ from regular Solana accounts (not much!) and how they enhance efficiency.

  • State Trees: Learn about the Merkle tree structure used to store compressed accounts and how it minimizes on-chain storage.

  • Validity Proofs: Explore how the protocol uses zero-knowledge proofs to verify data validity while keeping proof sizes small.

  • Lifecycle of a Transaction: Follow the journey of a ZK-compressed transaction from creation to execution.

  • Limitations and Considerations: Discover the trade-offs and scenarios where ZK Compression may or may not be the best solution.

PreviousIn a NutshellNextCompressed Account Model

Last updated 9 months ago

Was this helpful?