/install 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
// 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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install blockchain - 安装完成后,直接呼叫该 Skill 的名称或使用
/blockchain触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Blockchain 是什么?
Understand blockchain technology, interact with smart contracts, and evaluate when distributed ledgers solve real problems. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2033 次。
如何安装 Blockchain?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install blockchain」即可一键安装,无需额外配置。
Blockchain 是免费的吗?
是的,Blockchain 完全免费(开源免费),可自由下载、安装和使用。
Blockchain 支持哪些平台?
Blockchain 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Blockchain?
由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。