- Light-mints and token accounts are equivalent to SPL mints and tokens.
- The key difference is light-mint and token accounts do not require you to pay rent-exemption upon creation.
- Light token accounts are interoperable with SPL and Token 2022 mints.
Creation Cost
CU Performance
Mint Accounts
Uniquely represent a token and store its global metadata. Light-mints are compressed accounts and rent-free.
Token Accounts
Each light-token account can hold units of one light, SPL, or Token 2022 mint. Custom rent config reduces account creation cost.
If you simply want to distribute tokens, please refer to this
page.
Quickstart
1
Installation
- npm
- yarn
- pnpm
Install packages in your working directory:Install the CLI globally:
2
Get Started
Mint tokens in under 3 minutes.
Integration Toolkits
Cookbook
| TypeScript Client | Rust Client | Program Guide | ||
|---|---|---|---|---|
| Create Mint | Create light-mints with token metadata | x | x | x |
| Create ATA | Create associated light-token accounts | x | x | x |
| Create Token Account | Create light-token accounts | x | x | |
| Mint To | Mint tokens to light-token accounts | x | x | x |
| Close Token Account | Close and reclaim rent | x | x | |
| Transfer | Transfer between light-token and SPL accounts | x | x | x |
| Wrap & Unwrap | Convert between SPL/T22 and light-token | x |