macro_rules! program_dispatch {
($program_mod:ident) => { ... };
}Expand description
Generate the small runtime bridge for a #[program] module.
This keeps first-touch programs focused on #[program], Ctx<T>, and
ctx.accounts.* while still emitting the audited Hopper entrypoint under
the hood.
ⓘ
#[program]
mod counter_program {
// handlers
}
hopper::program_dispatch!(counter_program);