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

推荐订阅源

V
Visual Studio Blog
罗磊的独立博客
小众软件
小众软件
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
博客园_首页
N
Netflix TechBlog - Medium
B
Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
L
LangChain Blog
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
V
V2EX
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
博客园 - 【当耐特】

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
Solana keypair as Identity explain by and for a beginner
Rohy RAJOELI · 2026-04-26 · via DEV Community

Rohy RAJOELINA

In Solana, our identity is checked with a keypair: a public key, which is your address (a Solana address is a 32-byte Ed25519 public key encoded in Base58—for example, 14grJpemFaf88c8tiVb77W7TYg2W3ir6pfkKz3YjhhZ5. Base58 is chosen deliberately because it removes visually ambiguous characters like 0, O, I, and l), and a private key, which is the proof of ownership (called an "on-chain identity").

Unlike in Web2, where your identity is scattered across dozens of services—you have a username on GitHub, an email address at work, and a phone number with your bank—each identity is controlled by the service provider, and none of them "talk" to each other unless someone builds an integration.

Solana's system works exactly like SSH keys, but it is your identity for the entire blockchain network, not just a single server. It is designed this way for security purposes; instead of having username and password credentials held in someone else’s database (which allows a company to have control over your account), only you, as the holder of the private key, can sign transactions. Without this, you cannot initiate a transaction on the blockchain or access your wallet.

There are several ways to create a keypair identifier for Solana. The first we will see is CLI generation for development purposes. First, you will need to install it with this command:
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"

Then, create a keypair with solana-keygen new and configure it to Devnet (the network for testing in a development environment) with solana config set --url devnet. You can see your address or public key with the command solana address.

To make it easier, you can get the Phantom extension or other wallet apps to do this automatically. These apps store the private key in the browser's storage, which is generally more secure than the CLI method because the CLI stores the private key in a plain config.json file.