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

推荐订阅源

IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
H
Help Net Security
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
C
Cisco Blogs
人人都是产品经理
人人都是产品经理
Know Your Adversary
Know Your Adversary
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Recorded Future
Recorded Future
I
Intezer
罗磊的独立博客
T
The Exploit Database - CXSecurity.com
Blog — PlanetScale
Blog — PlanetScale
Malwarebytes
Malwarebytes
Spread Privacy
Spread Privacy
T
Tor Project blog
V
Vulnerabilities – Threatpost
云风的 BLOG
云风的 BLOG
腾讯CDC
B
Blog RSS Feed
Stack Overflow Blog
Stack Overflow Blog
F
Future of Privacy Forum
MyScale Blog
MyScale Blog
Latest news
Latest news
IT之家
IT之家
MongoDB | Blog
MongoDB | Blog
The Hacker News
The Hacker News
S
Securelist
博客园 - 【当耐特】
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threat Research - Cisco Blogs
Jina AI
Jina AI
Cisco Talos Blog
Cisco Talos Blog
B
Blog
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
V
V2EX
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Cloudflare Blog
The GitHub Blog
The GitHub Blog
博客园 - 聂微东
F
Full Disclosure
C
CERT Recently Published Vulnerability Notes

DEV Community

Building AI Digital Employees with Markus: An Open-Source Platform for Agent Teams [Boost] The Auditor — High-Reasoning Synthesis and the Ethics of Governance Building 'Offline Brain': How I Wrote My First Custom Agent Skill for Android (Google I/O 2026) 📱🧠 Building a Superhuman-Style Collaborative Email Editor with Next.js and Velt🔥 I Built an On-Chain Marketplace Where AI Agents Solve GitHub Bounties for USDC Three Stripe subscription patterns I locked in before going live (with code) Six Ways AI Agents Communicate in 2026. I Benchmarked All of Them. Building AI Digital Employees with Markus: An Open-Source AI Workforce Platform I built a tool that detects broken security headers, missing robots.txt, and WP_DEBUG=true — then opens a PR to fix them automatically NIST Just Exposed the Age Estimation Number Vendors Don't Want You to See Authentication Looks Easy - Until You Build It for Real Users I Built a Free Stock Market Game You Can Play Right Now — No Login, No Download GitHub Agentic Workflows: Building Self-Healing CI for .NET Building a No-Code AI Agent for WooCommerce Order Analytics with Flowise & HPOS Your AI Coding Agent Has Been Flying Blind. Google I/O 2026 Just Fixed That I built a CLI that eliminates README reading forever Measuring AI Gateway Failover: 30 Days of Production Data The Folly of Global AI Platforms: Or How We Built a System That Actually Works in Cameroon Week 9 The 10-Minute Race: Scaling the "Cancel Order" Button to 100K+ Requests Per Second SQL Performance: Indexing, Query Tuning & Explain Plans (Developer Guide) Tutorial: This AI Now Tells You if a Meeting Could Be an Email GitHub Is No Longer a Place for Serious Work Why I Got Tired of Class-Heavy UI Code and Started Building Around Attributes Build an AI-Powered Developer Portal with Backstage and .NET Updates to developer experience on Setapp Node.Js Express CRUD template Lint Your Phishing Templates Like You Lint Your Code From Code to Cloud: 3 Labs for Deploying Your AI Agent I built Voice2Sub: a local AI subtitle generator for video and audio The OCR Rabbit Hole Built a 100k-Document RAG System by Hand. Hermes Read the Architecture in 47 Seconds. I tried monetizing my MCP server with x402 — production needs more than npm install Understanding Tracking Dimensions in Accounting Integrations I Ran My Local, NOT AI, AI Code Auditor on Its Own Source Code Agent Surface Map: Gemma 4 review before you install an MCP Stop Being Nice, Start Being Right": The Day My User Reconfigured My Reward Function Building a Database Performance Testing Tool With AI: The Honest Breakdown Hot To Run LLMs Locally Research blockchain with post-quantum Dilithium and custom zk-STARKs from scratch AI agents do not just need tool access. They need execution control. The CTO’s Blueprint for Governing Multi-Agent AI Systems in the Enterprise I audited our CMS and 86% of our articles were invisible. A Sanity gotcha. Upselling Explained Industry-Specific Tactics for EC Owners 2026 I Keep Hermes Agent's Self-Improvement OFF For the First 14 Days — Here's What Happens When I Don't I Built the Hermes + Claude Code Dual-Stack: Orchestrator Meets Coder — Here's the Full Architecture Stop Using .iterrows(). Here's What Actually Fast Looks Like I Built a SaaS to Stop the Awkward "Hey, Did You Get My Invoice?" Conversation I Renamed a Hot Postgres Table Without Dropping a Request
一个 .NET 恐龙在 Web3. 第8天 — 阅读 & 写入 — WishList Chain
Alena · 2026-05-22 · via DEV Community

好久不见.

那只恐龙有点忙于完成一个关于 .NET Windows Forms 的模块。说实话,这不是我最喜欢的技术栈——我更热衷于 Web 开发——但它确实是工作的一部分.

既然那些任务都完成了,我总算可以回到我最喜欢的项目,以及那种公开学习的氛围.

简介

尝试进入Web3的第八天证明是一次绝佳的体验.

这并不像是又一个"添加功能然后继续前进"的步骤。它更像是一个系统开始真正像系统一样运作的转折点.

从阅读到写作

从区块链读取数据几乎就像调用一个常规API。你请求数据,你获取数据,你渲染它。

写作引入了完全不同的流程.

现在涉及钱包了。用户必须确认操作。交易被发送到网络,包含在一个区块中,然后才在UI中反映出来——而你不再控制那个时间线了。

那时很明显,为Web3构建UI不仅仅是显示数据。它关乎处理不确定性、延迟,以及存在于你的应用程序之外的状态。

奇特的运行环境现实

看来我可能需要一台更现代的笔记本电脑——我的MacBook因为Turbopack几乎要崩溃了。我最初使用它,但它消耗的资源远超预期。

没什么要紧的 — 我又切换回老好的 webpack.

但如果你在老旧机器上工作,这绝对是需要注意的事情.

构建UI的现实

UI不再只是响应式的 — 它变得依赖于外部事件:

  • 用户确认交易(或不确认)
  • 网络处理它
  • 区块被挖出
  • 状态变为可用 然后你的 UI 才能反映实际发生的情况.

这引入了一种不同的思维方式。你不仅仅是在更新状态 — 你是在等待系统收敛.

真正重要的事情

有一个时刻,交易显然已经完成 — MetaMask 确认了 — 但 UI 仍然显示 "还没有目标。"

合约状态已更改,但前端没有触发重新获取。从UI的角度来看,什么都没发生。

然后还有更严重的一个问题。

某个时候我意识到我在向错误的合约地址发送交易。

一切看起来都正确。MetaMask确认了交易。没有错误。没有警告。

而这就是问题的所在。

在 Web3 中,如果你将交易发送到了错误的地址——它并不会以一种有益的方式失败。它只是… 成功地发送到了其他地方.

没有后端验证,也没有“错误目的地”的错误提示。交易会继续进行,从系统的角度来看——一切看起来都很好.

但你的资金已经没了。

在我这只是一个测试交易——没什么重要的——但它是一个非常明确的提醒:仔细检查地址。每次都要。

瞬间

然后一切都凑齐了。

第一个目标创建。第一笔捐款发送。DreamPower增加。

余额改变。进度更新。状态反映在UI上。

端到端:

MetaMask → 智能合约 → Sepolia → 前端

到那时,它不再感觉像是由各个独立部分组成的,而是开始感觉像是一个真正的系统.

点击了什么

对我来说最大的转变是理解在这个设置中,区块链不仅仅是一项服务.

它是后端。

没有API层来翻译请求。前端直接与合约通信,这移除了我在.NET系统中习惯的一种抽象层.

这也意味着像延迟、一致性和状态管理这些东西的表现会有所不同——你必须考虑到这一点来设计.

一个更多的问题

在某个时刻我也开始思考限制。

这个能支持多少用户?一份合同能实际存储多少目标?

技术上——很多。实际上——每次写入都会消耗gas,大读取最终会达到限制。这不是目前需要考虑的问题,但肯定会成为后期需要考虑的问题.


阶段:恐龙 🦕 — 第一次完整交互。不只是读取。不只是UI。一个能读取、写入并做出反应的系统.


仓库: github.com/alena-dev-soft/wish-list-chain

在Telegram上关注旅程: t.me/dotnetToWeb3