Skip to main content

Module constants

Module constants 

Source
Expand description

Constants for Light Token SDK.

Re-exports constants from light_compressed_token_sdk::constants and adds Light Token specific constants.

Constants§

ACCOUNT_COMPRESSION_AUTHORITY_PDA
ACCOUNT_COMPRESSION_PROGRAM_ID
CPI_AUTHORITY_PDA
LIGHT_SYSTEM_PROGRAM_ID
LIGHT_TOKEN_CONFIG
Default compressible config PDA (V1)
LIGHT_TOKEN_CPI_AUTHORITY
CPI Authority PDA for the Light Token Program
LIGHT_TOKEN_PROGRAM_ID
NOOP_PROGRAM_ID
RENT_SPONSOR_V1
Default rent sponsor PDA (V1)
SPL_TOKEN_2022_PROGRAM_ID
SPL_TOKEN_PROGRAM_ID

Functions§

compression_authority_pda
Returns the compression authority PDA.
config_pda
Returns the default compressible config PDA.
cpi_authority
Return the CPI authority PDA of the Light Token Program.
id
Returns the program ID for the Light Token Program
rent_sponsor_pda
Returns the default rent sponsor PDA.