Solana Accounts and Programs Explained
Accounts are the storage
Solana keeps state in a large collection of accounts, each found by a public address. Every account has a balance of lamports (the smallest unit of SOL), a data field, an owner, and a flag saying whether it is executable. Your wallet address is an account. A token mint is an account. A token balance is stored in an account too.
Programs are the logic
A program is code deployed on chain. It is stored in an account marked executable. Programs are largely stateless: rather than holding their own data, they read and write other accounts. This is different from some chains where a contract keeps its own storage. When you send a transaction, it lists every account the program will need, which allows the network to plan how to run work efficiently. See How Solana Transactions Work.
Ownership rules
- Each account has an owner, which is a program.
- Only the owner program may change the account's data or deduct its lamports.
- Anyone may add lamports to an account.
- A normal wallet account is owned by the system program, which handles basic SOL transfers.
These rules protect data. A token program can change token balances, but a random program cannot.
Program derived addresses
A program derived address, or PDA, is an address computed from a program and some seeds, and it has no private key. Because no key exists, only the program that derived it can sign for it. PDAs are widely used to create predictable accounts, such as the account tied to a wallet and a token, covered in Token Accounts and Associated Token Accounts Explained.
Native programs and token programs
Solana has built in programs, such as the system program, and widely used programs for tokens. Token behavior is defined by the programs in Solana Token Standards. QNT uses the Token-2022 program with metadata extensions.
Why it matters to you
When a wallet asks you to approve a transaction, it is asking permission to let certain programs act on certain accounts, as explained in How Wallet Signing Works and Why Keys Stay Private. Knowing the model helps you read what you are approving. Rent, the deposit that keeps accounts alive, is covered in Solana Fees and Rent Explained.
This design has a practical consequence for safety. Because a transaction states in advance which accounts it will touch, a wallet can simulate it and show you the likely balance changes before you sign. It also means that a malicious program still has to be handed your accounts to act on them, which is why approvals and permissions deserve attention.
If you build or audit anything on Solana, the same model explains common bugs: a program that fails to check which account it was given, or who owns it, can be tricked. For ordinary users, the lesson is simpler. Only interact with programs and apps you have a reason to trust, and review what each request asks for.
Frequently asked questions
What is an account on Solana?
A record on chain with a balance, a data field, an owner program and an executable flag. Wallets, mints, token balances and programs are all stored as accounts.
Is a Solana program the same as a smart contract?
Roughly yes. A program is Solana's term for on chain code, though it keeps its state in separate accounts instead of inside itself.
Who can change an account's data?
Only the program that owns the account. Other programs and users cannot rewrite its data directly.
What is a PDA?
A program derived address. It is calculated from a program and seeds and has no private key, so only that program can authorize actions for it.
Is my wallet address an account?
Yes. It is an account owned by the system program, which holds your SOL balance.
Can a program be changed after deployment?
Many programs can be upgraded by an upgrade authority unless it was removed. That is a trust factor worth checking for any protocol you use.
Keep reading
- How Solana Transactions Work
A clear look at how a Solana transaction is built, signed, sent and confirmed, including instructions, accounts, the recent blockhash and what finality means. - Token Accounts and Associated Token Accounts Explained
Why Solana wallets need a separate token account for each token, what an associated token account is, and how it affects receiving, sending and closing them. - Solana Token Standards: SPL Token vs Token-2022
Solana tokens use either the original SPL Token program or the newer Token-2022 program with extensions. Learn the differences and what it means for QNT. - How Token Authorities Work on Solana
Mint, freeze and metadata update authorities explained: what each one can do, why revoking them matters, and how to check them yourself on-chain.
All How to buy and stay safe guides | Back to top | Search the site
Main pages: What is QNT? | Token information | How to buy | FAQ