Lesson: What are Instructions?
Chapter 1: What are Instructions?
Instructions are the core components of Solana transactions, defining what a program should do, which accounts it interacts with, and what data it processes.
Key Points
Processed sequentially within a transaction.
Target a specific program and operate on designated accounts.
Enable actions like SOL transfers or account updates.
Page Layout:
Header: Fixed top bar with "Solana Learn" logo, navigation, and profile icon.
Main Content:
Left Panel (60%): This text content.
Right Panel (40%): Diagram of an instruction’s structure.
Footer: Link to Solana Transactions.
Visuals:
Diagram: Shows program ID, accounts, and data fields.
Icons: Key (program ID), List (accounts).
Interactivity:
Hover over diagram elements for tooltips (e.g., "Program ID: The address of the program to execute").
Last updated