Skip to main content

What is light-token?

Light token is a high-performance token standard that is functionally equivalent to SPL, but stores mint and token accounts more efficiently. This reduces account creation cost while being more CU efficient than SPL on hot paths. 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

Can I start using the Light Token Standard?

Yes! Light Token is deployed on devnet — start integrating today with our Quickstart and Toolkits. For production on mainnet, use Compressed Tokens V1, which are live and supported by leading wallets such as Phantom and Backpack.

Do I need to change my client code significantly?

No. The light-token-sdk methods are a superset of the SPL-token API. Find examples below.
LightSPL
Get/Create ATAgetOrCreateAtaInterface()getOrCreateAssociatedTokenAccount()
Derive ATAgetAssociatedTokenAddressInterface()getAssociatedTokenAddress()
TransfertransferInterface()transferChecked()
Get BalancegetAtaInterface()getAccount()

Can light-token accounts hold SPL tokens?

Yes, light-token accounts can hold tokens from light, SPL, or Token 2022 mints. SPL tokens can be deposited into light-token accounts and withdrawn back to SPL token accounts via the transferInterface method.

Do light-token accounts require rent?

The token standard pays rent-exemption cost for you. To prevent griefing, “rent” is paid over time to keep an account in memory. This is dealt with under the hood in a way that doesn’t disrupt the UX of what your users are used to with SPL-token.
  1. The rent-exemption for light account creation is sponsored by the Light Token Program.
  2. Transaction payer’s pay rent
    to keep accounts “active”.
  3. “Inactive” accounts (rent below one epoch) get automatically compressed.
  4. The account’s state is cryptographically preserved and will be loaded into hot account state in-flight, when the account is used again.
The hot state fee is paid for by the transaction payer when writing to the respective account.

What happens if my light-token account runs out of rent?

The account is automatically compressed. Your tokens are cryptographically preserved as a compressed token account (rent-free). The account is loaded into hot account state in-flight when someone interacts with it again.

Does light-token support extensions?

Extensions are under development. Additional extensions can be requested. Coming soon:
  • MetadataPointer
  • TokenMetadata
  • InterestBearingConfig
  • GroupPointer
  • GroupMemberPointer
  • TokenGroup
  • TokenGroupMember
  • MintCloseAuthority
  • TransferFeeConfig
  • DefaultAccountState
  • PermanentDelegate
  • TransferHook
  • Pausable
  • ConfidentialTransferMint
  • ConfidentialTransferFeeConfig
  • ConfidentialMintBurn

What is the difference between light-token and compressed token?

  • light-token: Solana account that holds token balances of light-mints, SPL or Token 22 mints.
  • Compressed token: Compressed account storing token data. Rent-free, for storage and distribution.

I don’t see the question I want answered

DM us @lightprotocol on X (Twitter) or Discord.

Get Started