Macros§
- declare_
program - Declare an external program based on its IDL.
Attribute Macros§
- instruction
- This attribute is used to override the Anchor defaults of program instructions.
- program
- The
#[program]
attribute defines the module containing all instruction handlers defining all entries into a Solana program.