Expand description
§light-sdk-pinocchio
Light Protocol SDK for native Solana programs using pinocchio.
| Export | Description |
|---|---|
derive_light_cpi_signer | Derive CPI signer and bump at compile time |
LightDiscriminator | Discriminator trait; derive macro requires light-account feature |
[LightAccount] | Compressed account wrapper (requires light-account feature) |
address | Address derivation (v1 and v2) |
cpi | Light System Program CPI invocation |
instruction | Instruction types and helpers |
Re-exports§
pub use light_hasher;
Modules§
Macros§
- derive_
light_ cpi_ signer - Derives a complete Light Protocol CPI configuration at runtime
- derive_
light_ cpi_ signer_ pda - Derives a Light Protocol CPI signer PDA at compile time
Structs§
- CpiSigner
- Configuration struct containing program ID, CPI signer, and bump for Light Protocol