Zum Hauptinhalt springen
Podcasts & Audio BriefingsTechLinked: BIG OOF(20.10.2026 um 03:06 Uhr)
•••••••
Sicherheitslücken (CVE)CVE-2020-17160 | Microsoft Azure Sphere protection mechanism(20.10.2026 um 03:08 Uhr)
•••
Podcasts & Audio BriefingsTechLinked: BIG OOF(20.10.2026 um 03:06 Uhr)
•••••••
Sicherheitslücken (CVE)CVE-2020-17160 | Microsoft Azure Sphere protection mechanism(20.10.2026 um 03:08 Uhr)
•••
Intelligence View
⚡ tsecurity.de Intelligence

Solana Accounts for Web2 Developers (You Already Understand Files)

I spent the past month building on Solana. Sent transfers. Decoded raw bytes. Inspected accounts until my terminal turned into a wall of hex. Along the way, I…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

I spent the past month building on Solana. Sent transfers. Decoded raw bytes. Inspected accounts until my terminal turned into a wall of hex.



Along the way, I had to unlearn some Web2 habits.






One model. No exceptions.



Your wallet is an account. The program that moves your SOL is an account. The token you just bought? Also an account.



Solana doesn't have special types. Every account has the same five fields:




  • Lamports (SOL balance, 1 SOL = 1 billion lamports)

  • Data (raw bytes. empty for wallets)

  • Owner (the program that can modify this account)

  • Executable (true if this account holds code)

  • Rent epoch (ignore this. it's deprecated)



Run solana account on any address. Same structure every time.




$ solana account 8CtdyqtzBd597eDz9PTZHuuT62vvLc6YXdXjVkHnboqj

Public Key: 8CtdyqtzBd597eDz9PTZHuuT62vvLc6YXdXjVkHnboqj
Balance: 3.93896 SOL
Owner: 11111111111111111111111111111111
Executable: false
Rent Epoch: 18446744073709551615










Who owns what matters



The owner field determines control.



My wallet is owned by the System Program (111...111). Only the System Program can deduct SOL from it. I sign. The program executes.



A token account is owned by the Token Program. Only that program can move tokens.



In Web2, your app authorizes changes. On Solana, the program that owns the account authorizes changes. Your signature proves you approved it.






Programs have no memory



This was the hardest shift.



In Node.js, my app holds variables in memory. App and state live together.



On Solana, a program account holds code. Nothing else. No variables. No state.



State lives in separate data accounts.



A program reads from its data accounts, does math, writes back. It never stores anything itself.




// In Web2, you store state in variables
let counter = 5;
counter = counter + 1;

// On Solana, you read from a data account, modify, write back
const dataAccount = await fetchAccount(counterAddress);
let counter = dataAccount.value;
counter = counter + 1;
await writeAccount(counterAddress, counter);







Why? Update the program without losing data. One program, many data accounts. Programs stay pure.



The Token Program is 36 bytes of code. The mint accounts it controls? Separate accounts. Owned by the Token Program. Code in one place. State in another.




$ solana account TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

Public Key: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Owner: BPFLoaderUpgradeab1e11111111111111111111111
Executable: true
Length: 36 bytes










Rent isn't rent



Every account needs a minimum SOL balance based on data size. For a basic wallet with zero data: ~0.00089 SOL.



Pay once. Store forever. Close the account, get your SOL back.



It's a deposit. Not monthly rent.






You already know this



A file has a name, contents, and permissions.



A Solana account has an address, data, and an owner.



Same pattern. Different environment.



Took me a few weeks to stop overcomplicating it.

🔍 CTI & Forensik

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar · Exploit-Belege
IoC Intelligence
1 Indikatoren · Defanged · STIX 2.1
11111111111111111111111111111111
Intelligence Digest — kostenlos Täglich die wichtigsten Security-News · jederzeit abbestellbar
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War diese Seite hilfreich?
0
Jetzt Bewertung abgeben
🟢 Niedrig (1-3.9) 🟡 Mittel (4.0-6.9) 🔴 Hoch (7.0-8.9) Kritisch (9.0-10.0)

Verwandte Story-Cluster & Quellen (Vektor-KI)

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Solana Accounts for Web2 Developers (You Already Understand Files)

Thematisch verwandte Begriffe: Solana, Accounts, Web2, Developers · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Nächster Beitrag