<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shaun</title>
    <description>The latest articles on DEV Community by Shaun (@0xunlin).</description>
    <link>https://dev.to/0xunlin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3898612%2F67f97304-1e87-4f5c-b4d7-1b104ca63669.jpg</url>
      <title>DEV Community: Shaun</title>
      <link>https://dev.to/0xunlin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0xunlin"/>
    <language>en</language>
    <item>
      <title>100daysofsolana Week 2: From hating Solana to loving it</title>
      <dc:creator>Shaun</dc:creator>
      <pubDate>Sat, 02 May 2026 18:48:50 +0000</pubDate>
      <link>https://dev.to/0xunlin/solana-week-2-from-terminal-logs-to-a-live-browser-dashboard-33mh</link>
      <guid>https://dev.to/0xunlin/solana-week-2-from-terminal-logs-to-a-live-browser-dashboard-33mh</guid>
      <description>&lt;p&gt;I just finished my second week of #100DaysOfSolana, and it’s been a massive shift in perspective.&lt;br&gt;
The first week was about understanding the &lt;em&gt;what&lt;/em&gt; (wallets and Lamports), this week was all about the &lt;em&gt;how&lt;/em&gt;—specifically, pulling that data off the chain and showing it to the world.&lt;/p&gt;

&lt;p&gt;Here’s a breakdown of what I’ve been building and the &lt;em&gt;discovery&lt;/em&gt; moments I had along the way.&lt;/p&gt;
&lt;h2&gt;
  
  
  The Mental Shift: The &lt;em&gt;Public Database&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;I expected Solana to be cryptic rust-based and hard to reach. The reality is that Solana feels like a &lt;em&gt;made-for-utility&lt;/em&gt; globally distributed public database. In a traditional app, your data is tucked away in a private SQL or NoSQL database managed by a backend server. On Solana, everything is an account and accounts are public by default; anyone with an RPC connection can read the state of an account at any time.&lt;/p&gt;
&lt;h2&gt;
  
  
  The CLI vs. The Frontend
&lt;/h2&gt;

&lt;p&gt;My week was a game of two halves: working in the terminal and building in the browser.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Reading Balances
&lt;/h3&gt;

&lt;p&gt;I started by checking address balances via the Solana CLI using simple commands like &lt;code&gt;solana balance&lt;/code&gt;. But the real magic happened when I moved this into a JavaScript frontend. Using the &lt;code&gt;@solana/web3.js&lt;/code&gt; library, I established a &lt;code&gt;Connection&lt;/code&gt; through an RPC and used the &lt;code&gt;getBalance&lt;/code&gt; method to fetch data programmatically.&lt;/p&gt;
&lt;h4&gt;
  
  
  The Surprise:
&lt;/h4&gt;

&lt;p&gt;I learned that Solana doesn't store balances as "1 SOL." It uses Lamports—the smallest unit of SOL. To show a user their actual balance, you have to divide the result by the &lt;code&gt;LAMPORTS_PER_SOL&lt;/code&gt; constant &lt;strong&gt;everytime&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tex"&gt;&lt;code&gt;SOL = Lamports / 10&lt;span class="p"&gt;^&lt;/span&gt;9
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Tracking Transactions
&lt;/h3&gt;

&lt;p&gt;Next, I moved on to account history.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;In the Terminal:&lt;/strong&gt; I logged raw transaction data to see the flow of SOL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;In the Browser:&lt;/strong&gt; I built a dashboard to display these transactions as a readable list.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What Clicked:&lt;/strong&gt; Reading transactions is a two-step process. You first fetch a list of signatures (transaction IDs) using &lt;code&gt;getSignaturesForAddress&lt;/code&gt;.&lt;br&gt;
We'll probably learn to fetch the actual transaction details using &lt;code&gt;getParsedTransaction&lt;/code&gt;sometime later in the program. I also discovered a built-in limit: you can only fetch 1,000 signatures at a time, so you have to use pagination with the &lt;code&gt;before&lt;/code&gt; parameter if you want the full history.&lt;/p&gt;

&lt;h2&gt;
  
  
  Devnet vs. Mainnet: The Build Tester
&lt;/h2&gt;

&lt;p&gt;Another important milestone was comparing data across Devnet (the playground) and Mainnet-beta (the real deal).&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Devnet&lt;/th&gt;
&lt;th&gt;Mainnet-beta&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;SOL Value&lt;/td&gt;
&lt;td&gt;$0 (Free airdrops)&lt;/td&gt;
&lt;td&gt;Real market value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rate Limits&lt;/td&gt;
&lt;td&gt;Permissive for testing&lt;/td&gt;
&lt;td&gt;Highly restrictive on public nodes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Purpose&lt;/td&gt;
&lt;td&gt;Testing and Demos&lt;/td&gt;
&lt;td&gt;Production Apps&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;A Big Lesson:&lt;/strong&gt;&lt;br&gt;
I realized that while public RPC endpoints are great for learning, a real dashboard on Mainnet-beta needs a private RPC provider to avoid &lt;em&gt;Too Many Requests&lt;/em&gt; (429) errors, as public endpoints are heavily throttled.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s Next?
&lt;/h2&gt;

&lt;p&gt;I’m still getting my head around Commitment Levels—balancing the speed of a "processed" transaction with the absolute certainty of a &lt;em&gt;finalized&lt;/em&gt; one. Next week, we'll probably be diving into Programs and how to write data back to the chain.&lt;/p&gt;

&lt;p&gt;If you're also on this journey, don't hold back from connecting!&lt;/p&gt;




</description>
      <category>100daysofsolana</category>
      <category>web3</category>
    </item>
    <item>
      <title>From OAuth to Ed25519: Why Your Solana Keypair is the Ultimate Dev Identity</title>
      <dc:creator>Shaun</dc:creator>
      <pubDate>Mon, 27 Apr 2026 10:49:44 +0000</pubDate>
      <link>https://dev.to/0xunlin/from-oauth-to-ed25519-why-your-solana-keypair-is-the-ultimate-dev-identity-51ia</link>
      <guid>https://dev.to/0xunlin/from-oauth-to-ed25519-why-your-solana-keypair-is-the-ultimate-dev-identity-51ia</guid>
      <description>&lt;p&gt;If you're a Web2 developer, you've spent a significant portion of your career managing identity. You've configured OAuth providers, set up JWT handling, managed users tables in PostgreSQL, and maybe even integrated Auth0 or Firebase.&lt;/p&gt;

&lt;p&gt;In every one of those scenarios, &lt;em&gt;identity&lt;/em&gt; is a fragmented concept. You are a row in a database owned by someone else. If GitHub decides to flag your account, your identity on that platform ceases to exist. If a service provider's API goes down, your "Log in with..." button is a brick.&lt;/p&gt;

&lt;p&gt;On Solana, identity isn't a row in a database---it's a cryptographic primitive. It's not granted; it's generated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The SSH Analogy:&lt;/strong&gt; Identity as a Keypair&lt;/p&gt;

&lt;p&gt;The easiest way to understand Solana identity is to look at your .ssh folder. When you run ssh-keygen, you generate a public/private key pair.&lt;/p&gt;

&lt;p&gt;You put the public key on a server (like GitHub or a remote VPS).&lt;/p&gt;

&lt;p&gt;You keep the private key on your machine.&lt;/p&gt;

&lt;p&gt;When you want to access that server, you use your private key to &lt;em&gt;sign&lt;/em&gt; a challenge, proving you are the holder of that identity.&lt;/p&gt;

&lt;p&gt;Solana operates on the exact same logic, but the &lt;em&gt;server&lt;/em&gt; is the entire global network. A Solana identity starts with an Ed25519 keypair:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Private Key:&lt;/strong&gt; This is your secret. It's your proof of ownership. In Web3, this is the "Root Access" to your digital existence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Public Key:&lt;/strong&gt; This is your address. It's what you share with the world.&lt;/p&gt;

&lt;p&gt;When you interact with a program (smart contract) on Solana, you aren't sending a username and password. You are sending a transaction signed by your private key. The network uses your public key to verify that signature mathematically. No database lookup is required.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public Keys vs. Usernames:&lt;/strong&gt; The Power of Base58&lt;/p&gt;

&lt;p&gt;In Web2, usernames are human-readable strings like dev_guru_99. On Solana, your &lt;em&gt;username&lt;/em&gt; is a 32-byte public key, typically encoded in Base58.&lt;/p&gt;

&lt;p&gt;You've likely seen addresses like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;14grJpemFaf88c8tiVb77W7TYg2W3ir6pfkKz3YjhhZ5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Why Base58?
&lt;/h3&gt;

&lt;p&gt;It was a deliberate choice to avoid visual ambiguity. By removing characters like 0 (zero), O (capital o), I (capital i), and l (lowercase L), Solana ensures that developers and users are less likely to make manual entry errors.&lt;/p&gt;

&lt;p&gt;While a Base58 string isn't as &lt;em&gt;friendly&lt;/em&gt; as a handle, it represents something a username never can: Collision-resistant, permissionless uniqueness. You don't have to check if a public key is "taken." The mathematical space is so vast that the odds of two people generating the same keypair are effectively zero.&lt;/p&gt;




&lt;h3&gt;
  
  
  Sovereignty: Ownership Without Platforms
&lt;/h3&gt;

&lt;p&gt;The biggest shift for a Web2 dev to grasp is the lack of an &lt;em&gt;Admin.&lt;/em&gt; In the traditional world, if you lose your password, you hit &lt;em&gt;Forgot Password.&lt;/em&gt; An admin or an automated script verifies your email and resets your access. This is only possible because the platform owns the identity and merely grants you access to it.&lt;/p&gt;

&lt;p&gt;On Solana, there is no &lt;em&gt;Forgot Password&lt;/em&gt; flow. There is no admin panel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Intermediaries:&lt;/strong&gt; If you hold the private key, you own the account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Lockouts:&lt;/strong&gt; A protocol cannot &lt;em&gt;ban&lt;/em&gt; your public key from holding tokens or interacting with the state in the same way a platform can ban a user.&lt;/p&gt;

&lt;p&gt;This is self-custody. It shifts the responsibility of security from the platform to the individual. For a developer, this is liberating. It means the apps we build don't have to manage user credentials; we simply build interfaces that allow users to sign transactions with the identity they already own.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Foundation for Everything Else
&lt;/h3&gt;

&lt;p&gt;On-chain identity is the &lt;em&gt;root&lt;/em&gt; from which everything else grows. Because this identity is recognized by the entire network, it works across every dApp natively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Token Ownership:&lt;/strong&gt; Your tokens aren't in a &lt;em&gt;wallet app&lt;/em&gt;; they are associated with your public key on the ledger.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reputation:&lt;/strong&gt; Your history of contributions, governance votes, and program interactions is tied to this key, creating a portable, verifiable resume that isn't locked behind a LinkedIn profile.&lt;/p&gt;

&lt;p&gt;Transitioning to Solana means moving from granted access to cryptographic ownership. We are moving away from silos and toward a world where your identity is a piece of math that you carry with you across the entire internet.&lt;/p&gt;

&lt;p&gt;As we continue through the #100DaysOfSolana, remember: every line of code you ship and every transaction you sign isn't just data---it's an assertion of your sovereign identity on a global state machine.&lt;/p&gt;




</description>
      <category>100daysofsolana</category>
      <category>solana</category>
      <category>web3</category>
      <category>blockchain</category>
    </item>
  </channel>
</rss>
