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

推荐订阅源

人人都是产品经理
人人都是产品经理
量子位
博客园 - 三生石上(FineUI控件)
博客园 - Franky
博客园_首页
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
IT之家
IT之家
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
Last Week in AI
Last Week in AI
U
Unit 42
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MyScale Blog
MyScale Blog
H
Help Net Security
V
V2EX
S
SegmentFault 最新的问题
月光博客
月光博客
Martin Fowler
Martin Fowler
Vercel News
Vercel News
Y
Y Combinator Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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
Tanav · 2026-04-27 · via DEV Community

Tanav

Identity:

On most platforms, identity means an email and password stored on someone else’s server. You have a username on GitHub, an email address at work, and a phone number with your bank. Each one is controlled by the service provider, and none of them talks to each other unless someone builds an integration.

On Solana, identity is a keypair: a public key and a private key. Solana keypair is like an SSH key pair: you generate it locally, the public half identifies you, and the private half proves you are who you claim to be. No server in the middle.

How to Create a Keypair:

If you are connecting to a wallet application (eg. Phantom or Solflare), the wallet manages the keypair for you, so you don’t need to create one yourself. However, if you are not using a wallet, you will need to generate a keypair to sign your transactions.

import { generateKeyPairSigner } from "@solana/kit";

const signer = await generateKeyPairSigner();
console.log("address: ", signer.address);

Enter fullscreen mode Exit fullscreen mode

Accounts:

An account is Solana's fundamental data unit for storing state. The network stores all state in a key-value store where each key is a 32-byte address and each value is an account.

Account address
Every account address is a 32-byte value, displayed as a base58-encoded string (for example, '14grJpemFaf88c8tiVb77W7TYg2W3ir6pfkKz3YjhhZ5'). In Web2, usernames are human-readable strings (such as 'abc_xyz_123'). An address can be one of two types:

  1. Public key: corresponds to an Ed25519 keypair (has a private key)
  2. Program-derived address (PDA): deterministically derived from a program ID and seeds (no private key)

Base58 is chosen deliberately: it removes visually ambiguous characters like '0', 'O', 'I', and 'l'.

Cryptographic Ownership vs Company-Granted Access:

In Web2, you “own” your account because a company stores your credentials. They can lock you out. On Solana, only the holder of the private key can sign transactions for an account. No company, no admin panel, no password reset flow.

What Identity Enables:

On Solana, identity starts with a single cryptographic keypair, and everything you do on-chain is tied to it. On-chain identity is not just a replacement for usernames. It’s the foundation for token ownership, program interactions, governance votes, and reputation. Because it’s cryptographic and self-custodied, it works across every application on the network without anyone’s permission.