DEV Community

NIRANJAN LAMICHHANE
NIRANJAN LAMICHHANE Subscriber

Posted on

NO no Account is not just a database , whose history is traced and logged .

In this second week of #100daysofsolana , i got got introduced with the concept of account . I learned it by contrasting with the database of web2 .
However , i am aware that Solana's account model is not replacement for web2 database, rather it's solving a different problem: storing state in a system where no single entity has control, reads are public, and writes require cryptographic authorization.
On Solana, "every account is an open book the moment it exists". You can query any program address on the internet and instantly see its balance, owner, executable flag, and transaction history—no API key, no permission, no credentials.
In a normal app, our code checks if a user is allowed to edit something. On Solana, the system itself blocks anyone except the account's owner from making changes. To update an account, we must prove you own it by signing the transaction.
In a regular database, we can ask for related data with a JOIN. On Solana, accounts cannot query each other. If we need connected information, we fetch each account individually and combine them in your own code. This sounds old‑fashioned, but it's one reason Solana runs so fast.

Top comments (0)