Skip to main content

Developer

Explore how to build dApps and on-chain programs with Solana. Learners will understand Solana architecture, wallet integration, transactions, accounts, programs, and the resources used to continue building.

Open the interactive course to enroll, track progress and use your learning tools.

Solana Account Model

The Solana account model is a flexible and efficient way to manage state and data for dApps and smart contracts.

Key points

  • Solana stores all state in accounts identified by 32-byte addresses. Accounts can hold lamports and data, while executable program accounts contain code and non-executable data accounts hold mutable application state.
  • Every account has an owner program. Only that program can modify the account's data or debit its lamports; a wallet's signer may authorize instructions, but that is different from the account owner field enforced by the runtime.
  • Account design affects cost and performance. Developers should plan account sizes, required authorities, writable access, and the minimum lamport balance needed for the account to remain on-chain.

Further reading

Video

Watch the supporting video