Skip to main content

Documentation Index

Fetch the complete documentation index at: https://luminouslabs-cc5545c6-docs-main-reorder.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

ZK Compression is a compression framework for Solana that lets you create token accounts and PDAs at a fraction of the cost.Whether you’re pioneering the next DeFi protocol, or building for enterprise-grade stablecoin payments, our APIs and SDKs help you scale on Solana.

Token APIs

Creation CostLight Token ProgramSPL / Token 2022
Mint Account0.00001 SOL0.0015 SOL
Token Account0.00001 SOL0.002 SOL

Light Token Program

High-performance token program and APIs that reduce account creation cost by 99%, while being more CU efficient on hot paths. The Light Token APIs are a superset of - and fully compatible with - SPL-Tokens.

PDA Accounts

Creation CostLight / CompressedSolana default
100-byte PDA~0.000015 SOL0.0016 SOL

Light PDA (New)

Solana PDAs with sponsored rent-exemption that you can use with minimal coding overhead. Works just like any other PDA, e.g. in your DeFi program.

Compressed PDA

Compressed PDAs are the core primitive. They let you store user, app, or other infrequently accessed state without paying rent-exemption fees at all.

AI Native Development

Install orchestrator agent skill or view skill.md:
npx skills add https://zkcompression.com
Install or view dedicated agent skills.
Add the marketplace and install:
/plugin marketplace add Lightprotocol/skills
/plugin install solana-rent-free-dev

AI Prompts

Copy-paste prompts for common integration tasks.

For DeFi

Program Integration

Build rent-free AMMs and DeFi programs.

Router Integration

Add support for rent-free AMMs to your aggregator.

Pinocchio Programs

High-performance DeFi programs with Pinocchio.

For Data Streaming

Mint Accounts

Stream mint events from the network in real-time.

Token Accounts

Stream token events from the network in real-time.

For Stablecoin Payments

Integration Guide

Guide to integrate light-token APIs with comparison to SPL.

Nullifier PDA

Prevent onchain instructions from being executed more than once.

For Wallets

Integration Guide

Guide for Wallet Applications to let users display and swap light-tokens.

Sign with Privy Wallets

Add light-tokens to Privy embedded wallets.

Sponsor Rent Top-Ups

Sponsor all gas costs with rent-free accounts for your users, and provide delightful UX.

Resources

Learn Core Concepts

Learn about the Light Token program and ZK Compression Core.

API Reference

TypeScript and Rust SDKs, Anchor constraints and JSON RPC methods.

Security Audits

View security audits and formal verification.