Lesson: Accounts & Data

Chapter 1: Introduction to Accounts in Solana

Accounts are the backbone of Solana’s data storage system.

Explanation

  • Accounts store data and lamports, owned by programs or the system.

Types

  • System Accounts: Owned by the System Program for SOL transfers.

  • Program-Owned Accounts: Store program-specific state.


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 account structure.

  • Footer: Link to Solana Accounts.

Visuals:

  • Diagram: Fields (lamports, owner, data).

  • Icons: Cog (System), Lock (Program-owned).

Interactivity:

  • Click fields for details (e.g., "lamports: SOL balance").

Last updated