On Solana, everything is stored in accounts. Think of them as files on a shared hard drive: each one has an address, holds some data, and has an owner. Your wallet, a token balance, and even a program are all accounts.
What an account contains
Address: A unique public key that identifies it
Lamports: Its SOL balance (1 SOL = 1 billion lamports)
Data: Bytes of stored information, such as a token balance
Owner: The program that is allowed to change the account's data
Executable flag: Marks whether the account is a program
Who can change what?
Only the owner program can modify an account's data. Anyone can add lamports to an account, but only its owner can take them out or alter the data. Your wallet is owned by the System Program, which is why it handles SOL transfers.
Rent and storage
Storing data on Solana costs money. Accounts must hold a minimum lamport balance, called the rent-exempt minimum, which depends on how much data they store. Pay it once and the account stays alive. Close the account and you get the lamports back.
Common account types
Wallet accounts: Hold SOL and are controlled by your private key
Program accounts: Store executable code
Data accounts: Store a program's state, like a game score or token balance
Token accounts: Track how much of a specific token someone owns
Why it matters
Because programs and data are separate and every transaction declares its accounts upfront, Solana can run non-conflicting transactions in parallel. Understanding accounts is the key to understanding how Solana works.
#SolanaAccounts #Blockchain #Crypto #SmartContract #BlockchainForBeginners