Crate shank

source ·

Derive Macros§

  • Annotates a struct that shank will consider an account containing de/serializable data.
  • Generates instruction builders for each annotated instruction.
  • Generates an accounts struct for each instruction.
  • Annotates the program Instruction Enum in order to include #[account] attributes.
  • Annotates a struct or enum that shank will consider a type containing de/serializable data.