Crate light_sdk_macros

Source

Macros§

derive_light_cpi_signer
Derives a complete Light Protocol CPI configuration at compile time
derive_light_cpi_signer_pda
Derives a Light Protocol CPI signer address at compile time

Attribute Macros§

light_account
light_accounts
light_program
light_system_accounts
Adds required fields to your anchor instruction for applying a zk-compressed state transition.

Derive Macros§

DataHasher
Alias of LightHasher.
LightAccounts
LightDiscriminator
LightHasher
Makes the annotated struct hashable by implementing the following traits:
LightTraits
Implements traits on the given struct required for invoking The Light system program via CPI.