Skip to main content
Note: This page is for the new Light Token Program Beta. For production use today, use Compressed Tokens, which are live on Solana Mainnet and supported by leading wallets such as Phantom & Backpack.

Creation Cost

Light-TokenSPL-Token
Mint Account0.00001 SOL0.0015 SOL
Token Account0.00001 SOL0.002 SOL

CU Performance

Light-TokenSPL-Token
ATA Creation4,34814,194
Transfer3124,645
Transfer (rent-free)1,8854,645

Mint Accounts

Light-mint accounts represent a unique mint and optionally can store token-metadata. Functionally equivalent to SPL mints.

Token Accounts

Light-token accounts can hold balances from any light, SPL, or Token-2022 mint, without the need to pay rent-exemption.

Quickstart

1

Installation

Install packages in your working directory:
npm install @lightprotocol/stateless.js@alpha \
            @lightprotocol/compressed-token@alpha
Install the CLI globally:
npm install -g @lightprotocol/zk-compression-cli@alpha

Integration Toolkits

for Stablecoin PaymentsProcess payments and transfers using light-token
for WalletsAllow your users to store and swap tokens more efficiently
for Streaming MintsStream light-mint accounts
for Indexing TokensIndex light-token accounts

Cookbook

Create MintCreate light-mints with token metadata
Create ATACreate associated light-token accounts
Create Token AccountCreate light-token accounts
Mint ToMint tokens to light-token accounts
Close Token AccountClose and reclaim rent
TransferTransfer between light-token and SPL accounts
Wrap & UnwrapConvert between SPL/T22 and light-token

Next Steps

Explore Frequently Answered Questions