Programming Model
Compartilhar

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 total
Termos relacionados explorados0/2

Termos Relacionados