Client Development

Overview to Client side development. Quick access to TypeScript and Rust SDKs.

Client Development

Build client applications that interact with ZK Compression across web, Node.js, and native environments using our TypeScript and Rust SDKs.

Core Client SDKs

SDK
Language
Description

TypeScript

Core compression SDK with RPC interface, compression/decompression operations, state tree management, and validity proof handling

TypeScript

Compressed token operations including mint creation, transfers, SPL compression/decompression, and delegation handling

Rust

RPC client with Photon indexer API, and local test validator support.

Installation

npm install --save \
    @lightprotocol/stateless.js \
    @lightprotocol/compressed-token \
    @solana/web3.js \
    @lightprotocol/zk-compression-cli
rust-client-sdks.toml
[dependencies]
light-client = "0.13.1" 

Environments

Start a local test-validator with the below command. It will start a single-node Solana cluster, an RPC node, and a prover node at ports 8899, 8784, and 3001.

light test-validator 

See the CLI Installation Guide for more.

CLI Installation

Examples

Next Steps

Get an overview of compressed tokens and dive right into the cookbook.

Compressed Tokens

Last updated