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

推荐订阅源

L
LangChain Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
U
Unit 42
腾讯CDC
D
Docker
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
I
InfoQ
Jina AI
Jina AI
爱范儿
爱范儿
宝玉的分享
宝玉的分享
博客园 - Franky
G
Google Developers Blog
P
Proofpoint News Feed

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
Transactions in Solana
ajith pkumar · 2026-05-18 · via DEV Community

ajith pkumar

A few days ago, I knew almost nothing about how Solana transactions actually worked. I thought sending a transaction would feel similar to making an API request in a typical backend application — send data, get a response, done. But after building and debugging transactions on Solana devnet, I realized the mental model is very different.

In Solana, you interact directly with a decentralized state machine where every action is signed, validated, recorded on-chain, and eventually finalized by the network. They require cryptographic signatures. They expire after a short time because of blockhash validity. That last part surprised me the most. Transactions are tied to a recent blockhash, which means they cannot stay valid forever.
I started by creating a simple CLI tool that sends SOL on devnet.
One concept that really changed my understanding was commitment levels.
Initially, I assumed a transaction was either successful or failed. But Solana actually has multiple confirmation stages:

processed
confirmed
finalized

I added polling logic to track transactions through each stage.

await waitForCommitment(rpc, signature, "confirmed");
await waitForCommitment(rpc, signature, "finalized");

That made me realize blockchain confirmations are not instant yes/no responses. The take time, a transaction that is confirmed is updated to finalized only after 30+ blocks are stacked in front of it. This only takes few seconds. They represent increasing confidence from the network.
Failed Transactions Taught Me More Than Successful Ones. At the end we get the transaction signature providing all the details of the transaction.

One of the most useful exercises was intentionally breaking transactions.
What surprised me was that failed transactions can still consume fees. That’s why balance checks before sending are important.

The biggest lesson for me was understanding that transactions are not just “requests.” They are signed, time-sensitive that become part of a permanent public ledger.

I still have a lot to learn, especially around programs, PDAs, and full dApp architecture, but building and debugging transactions made Solana feel much more real and approachable.