Light token is a high-performance token standard that reduces the cost of mint and token accounts by 200x.
- All light mint and token accounts are on-chain accounts like SPL, but the light token program sponsors the rent-exemption cost for you.
- Light-token accounts can hold balances from any light, SPL, or Token-2022 mint.
- Light-mint accounts represent a unique mint and optionally can store token-metadata. Functionally equivalent to SPL mints.
- Payments and Wallets - All you need for wallet integrations and payment flows. Minimal API differences to SPL.
- Streaming Tokens - Stream mint events using Laserstream
- create-mint - Create a light-token mint with metadata
- create-ata - Create an associated light-token account
- load-ata - Load token accounts from light-token, compressed tokens, SPL/T22 to one unified balance
- mint-to - Mint tokens to a light-account
- transfer-interface - Transfer between light-token, T22, and SPL accounts
- wrap - Wrap SPL/T22 to light-token
- unwrap - Unwrap light-token to SPL/T22
- delegate-approve - Approve delegate
- delegate-revoke - Revoke delegate
- create-mint - Create a light-token mint with metadata
- create-ata - Create an associated light-token account
- create-token-account - Create a light-token account with custom owner
- mint-to - Mint tokens to a light-account
- mint-to-checked - Mint tokens with decimal validation
- transfer-interface - Transfer between light-token, T22, and SPL accounts
- transfer-checked - Transfer with decimal validation
- spl-to-light-transfer - Transfer from SPL to Light via TransferInterface
- wrap - Wrap SPL/T22 to light-token
- unwrap - Unwrap light-token to SPL/T22
- burn - Burn tokens
- burn-checked - Burn tokens with decimal validation
- approve - Approve delegate
- revoke - Revoke delegate
- freeze - Freeze a token account
- thaw - Thaw a frozen token account
- close - Close a token account
# TypeScript
cd typescript-client
npm run create-mint:action
npm run mint-to:action
# See package.json for all scripts
# Rust
cd rust-client
cargo run --example action_create_mint
cargo run --example instruction_mint_to_checkedLearn more about Light-Token here.