- 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
| SPL | Light | |
|---|---|---|
| Mint Account | ~1,500,000 lamports | 15,000 lamports |
| Token Account | ~2,000,000 lamports | ~17,000 lamports |
CU Performance
| light-token CU | SPL-token CU | p-token CU | |
|---|---|---|---|
| ATA Creation | 4,348 | 14,194 | 14,194 |
| Transfer (base path) | 312 | 4,645 | 79 |
| Transfer (rent-free hot path) | 1,885 | 4,645 | 79 |
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.
Start building
Integration Toolkits
| for Stablecoin Payments | Process payments and transfers using light-token |
| for Wallets | Allow your users to store and swap tokens more efficiently |
| for Streaming Mints | Stream light-mint accounts |
| for Indexing Tokens | Index light-token accounts |
Cookbook
Mint Accounts
| Create Mint Account | Program and client guide to create light-mints with token metadata |
| Mint Tokens | Mint tokens to light-token accounts |
Token Accounts
| Create Token Accounts | |
| Create Associated light-token Accounts | |
| Transfer Interface | For transfers between light-token and SPL token accounts. |
| Close Token Accounts |