返回顶部
B

Blockchain

Understand blockchain technology, interact with smart contracts, and evaluate when distributed ledgers solve real problems.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,914
下载量
3
收藏
概述
安装方式
版本历史

Blockchain

## What This Covers Blockchain fundamentals and practical interaction — the technology, not the speculation. **In scope:** Distributed ledgers, consensus, transactions, smart contract interaction, wallets, token standards. **Out of scope:** Trading strategies, price analysis, specific DeFi protocols, Solidity development (see dedicated skills). ## Core Concepts | Concept | One-liner | |---------|-----------| | Distributed ledger | Shared database synchronized across nodes, no single owner | | Consensus | How strangers agree on truth without trusting each other | | Immutability | Changing history requires re-doing all subsequent work | | Smart contract | Code that executes automatically when conditions are met | | Gas | Fee paid to network for computation | For mental models and analogies, see `concepts.md`. ## Developer Quick Reference ```typescript // Read contract (viem) const balance = await client.readContract({ address: TOKEN, abi: erc20Abi, functionName: 'balanceOf', args: [wallet] }) // Write requires wallet + confirmation wait const hash = await walletClient.writeContract({...}) const receipt = await client.waitForTransactionReceipt({ hash }) ``` Common traps: missing allowance checks, wrong decimals (ETH=18, USDC=6), not awaiting confirmations. For full patterns, see `dev.md`. ## When to Use Blockchain ✅ **Use when:** Multiple parties need shared truth, no trusted authority exists, immutability is critical, settlement costs are high. ❌ **Don't use when:** Single org controls data, you trust a central authority, data needs deletion (GDPR), or a database solves it. > **The Database Test:** Would PostgreSQL with audit logs solve this? If yes, skip blockchain. For decision framework and enterprise platforms, see `evaluation.md`. ## Security Essentials - Seed phrase = master key — never share, never screenshot - Hardware wallet > software wallet > exchange - Test transactions before large transfers - Verify URLs obsessively — phishing clones are sophisticated For wallet security and scam patterns, see `security.md`.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 blockchain-1776419958 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 blockchain-1776419958 技能

通过命令行安装

skillhub install blockchain-1776419958

下载 Zip 包

⬇ 下载 Blockchain v1.0.0

文件大小: 6.79 KB | 发布时间: 2026-4-17 19:21

v1.0.0 最新 2026-4-17 19:21
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部