- basic-operations/anchor - Anchor program with Rust and TypeScript tests
- basic-operations/native-rust - Native Solana program with light-sdk and Rust tests.
Basic Operations include:
- create - Initialize a new compressed account.
- update - Modify data in an existing compressed account.
- close - Clear account data and preserve its address.
- reinit - Reinitialize a closed account with the same address.
- burn - Permanently delete a compressed account.
Full compressed account lifecycle (create, increment, decrement, reset, close):
- counter/anchor - Anchor program with Rust and TypeScript tests
- counter/native - Native Solana program with light-sdk and Rust tests.
- counter/pinocchio - Pinocchio program with light-sdk-pinocchio and Rust tests.
- create-and-update - Create a new compressed account and update an existing compressed account with a single validity proof in one instruction.
- read-only - Create a new compressed account and read it onchain.
- account-comparison - Compare compressed vs regular Solana accounts.
- zk-id - A minimal zk id Solana program that uses zero-knowledge proofs for identity verification with compressed accounts.