<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vaibhav Malik on Medium]]></title>
        <description><![CDATA[Stories by Vaibhav Malik on Medium]]></description>
        <link>https://medium.com/@vaibhavwork0725?source=rss-cf1b0c4cc29a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Jw7a63nONZpoSeLv</url>
            <title>Stories by Vaibhav Malik on Medium</title>
            <link>https://medium.com/@vaibhavwork0725?source=rss-cf1b0c4cc29a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:37:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vaibhavwork0725/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Solana: WTF Is It and Is It Better Than ETH or BTC?]]></title>
            <link>https://medium.com/@vaibhavwork0725/solana-wtf-is-it-and-is-it-better-than-eth-or-btc-844cfe31fab9?source=rss-cf1b0c4cc29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/844cfe31fab9</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[solana-blockchain]]></category>
            <dc:creator><![CDATA[Vaibhav Malik]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 21:03:20 GMT</pubDate>
            <atom:updated>2025-06-10T21:03:20.955Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*epcpZ0jqsa9QeGiG4kRBeQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@guerrillabuzz?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">GuerrillaBuzz</a> on <a href="https://unsplash.com/photos/graphical-user-interface-5_asf_AsG-I?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><h3>Solana, Smart Contracts, and the Web2 vs Web3 Data Shift — In Simple Terms</h3><p>Solana has been gaining serious traction as one of the fastest, cheapest, and dev-friendly Layer 1 blockchains out there. But the first time I jumped into Solana, I got lost in the jargon. <em>Accounts that aren’t user accounts? Programs that aren’t smart contracts?</em> Felt like I was in an alternate reality.</p><p>So, I’m writing this for devs like me who want to break it down simply. Let’s go step by step.</p><h3>1. What even is Solana?</h3><p>Solana is a high-performance blockchain built for speed and scalability. Unlike Ethereum, which processes around 15 TPS (transactions per second), Solana can handle <strong>thousands of TPS</strong> — thanks to innovations like <strong>Proof of History (PoH)</strong> and parallel execution using <strong>Sealevel</strong>.</p><p>So yeah, it’s fast. But it’s also <strong>different</strong>.</p><h3>2. The Jargon Decoder</h3><p>Here’s the part that tripped me up at first. Solana has its own language when it comes to development:</p><ul><li><strong>Program</strong>: This is what other blockchains call a <em>smart contract</em>. It’s a read-only executable deployed on-chain. Written mostly in Rust.</li><li><strong>Account</strong>: This is <em>everything</em>. Unlike Web2 where accounts just mean users, in Solana, <em>everything is stored inside accounts</em>. User wallets, program states, app data — each lives inside an account.</li><li><strong>PDAs (Program Derived Addresses)</strong>: These are special accounts that only programs can control. Think of them as smart contract-owned storage.</li><li><strong>Rent</strong>: Solana charges rent for data stored on-chain unless it’s rent-exempt (you pay enough SOL to store it forever).</li><li><strong>Stateless Programs</strong>: Solana programs don’t store state like traditional apps or even Ethereum contracts. Instead, they operate on external accounts passed in during the transaction.</li></ul><h3>3. Solana Smart Contracts ≠ Ethereum Smart Contracts</h3><p>Ethereum smart contracts are stateful. They store variables inside the contract and maintain internal state.</p><p>Solana programs, on the other hand, are <strong>stateless</strong>. All the data a program interacts with is passed in through <strong>accounts</strong>. The contract itself is just pure logic.</p><p>That’s why Solana can scale better. Programs can run <strong>in parallel</strong>, as long as they don’t touch the same accounts.</p><h3>4. Web2 vs Web3: The Data Model Shift</h3><p>Concept Web2 Solana (Web3) App Logic Stored on backend server Stored in a deployed <em>program</em> Data Storage DB (SQL, Mongo, etc.) <em>Accounts</em> on-chain User Auth Email/password, OAuth <em>Wallet</em> (private key) Permissions Server logic / ACLs <em>Accounts + Signatures</em> Scalability Vertical (server upgrade) Horizontal (parallel accounts)</p><p>In Web2, we hit the server, get user data, modify it, and save back to the DB. Simple.</p><p>In Solana, a transaction says: “Run this program, use these accounts, sign with these keys.” The program does its job using the passed-in data and exits. No hidden state, no database inside.</p><h3>5. Why This Model Matters</h3><ul><li><strong>Speed</strong>: Stateless logic + parallel execution = insane TPS.</li><li><strong>Security</strong>: Programs can’t access arbitrary data; they must be <em>given</em> accounts.</li><li><strong>Cost-Efficiency</strong>: Users pay for what they use, not flat-rate compute.</li></ul><p>But it’s also <strong>a shift in mindset</strong>. You’re not writing code like “update user balance,” you’re writing: “take in this user account, this token account, this authority — verify signatures — then mutate.”</p><h3>6. Final Thoughts</h3><p>Learning Solana as a Web2 developer feels like switching from imperative programming to functional programming — it’s a paradigm shift.</p><p>But once you wrap your head around accounts, stateless logic, and the program-account separation, it clicks.</p><p>So if you’re just getting started, don’t be overwhelmed. Solana isn’t complex for the sake of it — it’s optimized for speed, scale, and security. And once you understand the architecture, building on it is incredibly powerful.</p><p>Cheers,<br><em>Vaibhav</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=844cfe31fab9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>