惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
F
Fortinet All Blogs
D
Docker
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
罗磊的独立博客
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
U
Unit 42
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
P
Proofpoint News Feed
G
Google Developers Blog
H
Help Net Security

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Forget Usernames and Passwords: A Web2 Developer’s Guide ...
Vinayak Kama · 2026-05-26 · via DEV Community

As a backend developer comfortable with Python, databases, and standard web servers, jumping into Web3 felt like entering an entirely different universe. I recently joined the MLH 100 Days of Solana challenge, and after finishing my first week, one massive realization completely rewrote how I think about software: Identity on a blockchain is fundamentally different from anything we build in Web2.

In a traditional application, user identity is scattered across disconnected silos. A user has a row in a PostgreSQL users table on my server, a profile inside GitHub's database, and a distinct account with their bank. They don't talk to each other unless someone manually builds a complex OAuth integration.

On Solana, identity starts with a single, elegant mathematical concept: The Cryptographic Keypair.


The SSH Analogy: How Identity is Born

If you are a developer who has ever deployed code to a Linux server, you already understand how a Solana wallet works. You generate an SSH key pair on your local machine. You leave the Public Key on the remote server, and you keep the Private Key deeply hidden on your local laptop. When you connect via terminal, your local private key mathematically proves who you are.

Solana functions exactly the same way, except the "server" is a global, decentralized ledger running across thousands of validator nodes.

Over my first few days of the challenge, I wrote TypeScript code utilizing the new @solana/kit SDK to generate these keys. When I ran my script, it printed out a random string of numbers and letters like Dg2vjhF3F8p2XkfPSDBeTdKgwyqQwkmtHqmV3q281v17.

This is my Public Key—my global username on the Solana network. It uses Base58 encoding, which deliberately strips away confusing characters like 0, O, I, and l to ensure developers don't make catastrophic typos when routing assets.


Cryptographic Ownership vs. Company Access

In the Web2 stacks I am used to building, a user "owns" their account simply because an administrator allows them to. If a user loses their password, they hit a "Reset Password" button, an email script fires off, and they modify a row in a database. If a company decides to lock a user out, their identity vanishes at the click of a button.

On a blockchain, there is no admin panel, no Customer Support team, and absolutely no password reset flow.

When I created my local wallet file (wallet.json) using Node's filesystem modules (node:fs/promises), it saved a raw array of numbers representing my Private Key.

In asymmetric cryptography, your public address is mathematically derived one-way from your private key. If you have the private key, you can always calculate the public address. If you lose that private key array, your identity and every asset attached to it are locked in the global state forever. Only the holder of that private key can authorize and sign state changes (transactions) for that account.


What a Global Identity Enables

This week, I connected my newly generated identity directly to a Phantom browser wallet and requested 1,000,000,000 lamports (which is exactly 1 testnet SOL) from the Devnet faucet. I was able to track my transaction history straight from my terminal using the Solana CLI:

solana transaction-history $(solana address) --limit 1

Seeing the raw transaction log pull down from a global network without logging into an API gateway or providing an API key was eye-opening. Because my identity is purely cryptographic and self-custodied, it works seamlessly across every single decentralized application (dApp) built on the network. I don't need to sign up for a new account when I visit a new platform; I just connect my keypair using the standard wallet protocol.

Wrapping Up Week 1

Moving from a classic backend architecture where data and logic live under one roof to Solana's model—where stateless programs modify independent data accounts—has challenged my assumptions about system engineering.

If you are a Web2 engineer sitting on the fence, I highly recommend stepping out of your comfort zone. The math under the hood is beautiful, the performance is lightning fast, and shifting your brain to think about identity as code instead of a row in someone else's database will make you a sharper engineer overall.

On to Week 2!