#[derive(LightProgramPinocchio)]
{
// Attributes available to this derive:
#[light_account]
}
Expand description
Pinocchio variant of #[derive(LightProgram)].
Generates pinocchio-compatible code instead of Anchor:
BorshSerialize/BorshDeserializeinstead ofAnchorSerialize/AnchorDeserializelight_account_pinocchio::paths instead oflight_account::- Config/compress/decompress as enum associated functions
[u8; 32]instead ofPubkeyin generated params
See #[derive(LightProgram)] for usage syntax (identical attribute syntax).