Skip to main content

Light Token Recipes

Copy the prompt below or view the guide.

Add rent-free mint with token metadata

Open in Cursor
Copy the prompt below or view the guide.

Create rent-free associated token account

Open in Cursor
Copy the prompt below or view the guide.

Create Light Token account

Open in Cursor
Copy the prompt below or view the guide.

Mint tokens to Light Token account

Open in Cursor
Copy the prompt below or view the guide.

Transfer tokens between Light Token and SPL accounts

Open in Cursor
Copy the prompt below or view the guide.

Transfer tokens with decimal validation

Open in Cursor
Copy the prompt below or view the guide.

Approve and revoke token delegates

Open in Cursor
Copy the prompt below or view the guide.

Freeze and thaw Light Token accounts

Open in Cursor
Copy the prompt below or view the guide.

Wrap and unwrap SPL tokens to Light Token

Open in Cursor
Copy the prompt below or view the guide.

Close Light Token account

Open in Cursor
Copy the prompt below or view the guide.

Burn Light Tokens

Open in Cursor

DeFi

Copy the prompt below or view the guide.

Add rent-free accounts to an Anchor DeFi program

Open in Cursor
Copy the prompt below or view the guide.
Copy the prompt below or view the guide.

Integrate rent-free AMM markets into a router or aggregator

Open in Cursor

Data Streaming

Copy the prompt below or view the guide.

Stream light-mint accounts and metadata via Laserstream gRPC

Open in Cursor
Copy the prompt below or view the guide.

Stream light-token accounts via Laserstream gRPC

Open in Cursor

Stablecoin Payments

Copy the prompt below or view the guide.

Integrate light-token APIs for stablecoin payments

Open in Cursor
Copy the prompt below or view the guide.

Create rent-free nullifier PDAs to prevent duplicate actions

Open in Cursor

Wallets

Copy the prompt below or view the guide.

Add light-token support to a wallet application

Open in Cursor
Copy the prompt below or view the guide.

Integrate light-token with Privy embedded wallets

Open in Cursor

Light-PDA

Copy the prompt below or view the guide.

Compressed PDA

Copy the prompt below or view the guide.

Write client code to interact with compressed PDA programs

Open in Cursor
Copy the prompt below or view the guide.

Build a program that creates compressed accounts with addresses

Open in Cursor
Copy the prompt below or view the guide.

Build a program that updates compressed accounts

Open in Cursor
Copy the prompt below or view the guide.

Build a program that closes compressed accounts

Open in Cursor
Copy the prompt below or view the guide.

Build a program that reinitializes closed compressed accounts

Open in Cursor
Copy the prompt below or view the guide.

Build a program that permanently burns compressed accounts

Open in Cursor
Copy the prompt below or view the guide.

Migrate Light Protocol program from v1 to v2 Merkle trees

Open in Cursor

Token Distribution

Copy the prompt below or view the guide.

Distribute compressed tokens via airdrop

Open in Cursor