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

推荐订阅源

月光博客
月光博客
MyScale Blog
MyScale Blog
博客园 - Franky
The Cloudflare Blog
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Blog of Author Tim Ferriss
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
腾讯CDC
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
博客园 - 【当耐特】
美团技术团队
云风的 BLOG
云风的 BLOG

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
How Identity Works on Solana (vs Web2)
Elizabeth Af · 2026-05-03 · via DEV Community

I recently joined the 100 Days of Solana challenge, and in the first few days I did some pretty basic things:

  • Generated a wallet
  • Funded it using devnet
  • Connected it to apps
  • Sent transactions

Sounds simple, right?

But it raised a bigger question for me:

If there’s no email/password… how does identity even work here?

If you're coming from Web2, this part can feel confusing at first. Let me break it down based on what I've learnt.

Web2 Identity (What We’re Used To)

In Web2, identity is straightforward:

  • You sign up with email + password
  • Your details are stored in a database
  • When you log in, the server verifies you
  • A session or token keeps you logged in

So basically, the server is responsible for knowing who you are.

The Shift: No Central Authority

On Solana, that model changes completely. The best way to think about it is:

Using a Solana wallet is like logging in with OAuth, except there’s no Google or Facebook verifying you. Identity is proven cryptographically by your wallet.

There’s no central server in charge of identity. Instead, identity is tied to your wallet.

Your Wallet = Your Identity

A wallet (like Phantom) is built on something called a keypair:

  • Public key - your wallet address (like a username)
  • Private key - used to approve actions (kept secret)

So when we say, “This is my identity on Solana”. What we really mean is “I control this wallet address.”

Signing = Authentication

This is the most important part. In Web2, you send your password to prove who you are
In Solana, you sign a message or transaction

Here’s what actually happens:

  • You interact with a dApp
  • The app asks your wallet to approve an action
  • Your wallet prompts you
  • You approve
  • Your wallet signs using your private key

That signature is the proof. You don’t log in with a password, you prove who you are by signing.

Also important:

Your private key is never exposed. It stays inside the wallet.
The password you enter in your wallet is not what proves it’s you, it only unlocks your wallet locally.

When you connect your wallet to an app, The app gets your public address. It never gets your private key.
That’s why wallet connections are considered secure.

A Real Flow (From My Experience)

Here’s a typical flow based on what I’ve been building:

  1. I click “Connect Wallet”
  2. My wallet (Phantom) asks me to approve
  3. The app gets my public key
  4. The app uses RPC to fetch my balance
  5. I enter an amount to send
  6. I click send
  7. My wallet asks me to sign
  8. I approve, transaction goes through

Where RPC Comes In

RPC (Remote Procedure Call) is just how apps talk to the blockchain. It fetches balances, sends transactions and reads data. It does not know who you are or manage identity. It just responds to requests.

So What Replaces Sessions?

In Web2, you log in once and session persists.

In Solana, there’s no real “session”. Your identity is simply your connected wallet. Your ability to sign when needed. If you disconnect, that’s it. No session stored somewhere.

Conclusion

At first, it feels strange not having a login system.

But once you understand this:

Identity = wallet
Authentication = signature

Everything starts to make sense.

If you're just getting into Solana like I am, this is one of the most important concepts to understand early.

It makes everything else easier.