Programming Model
Entrypoint
📖O que é
The function that the Solana runtime calls when a program is invoked. Native programs use the `entrypoint!()` macro which exposes a function with signature `fn(program_id, accounts, instruction_data) -> ProgramResult`. Anchor generates the entrypoint automatically and routes to the correct handler based on the instruction discriminator.
Sua exploração
0 termos visitados no totalTermos relacionados explorados0/2