---
name: blockchain-619d4f4fc5cc
slug: blockchain
version: 1.0.0
description: Understand blockchain technology, interact with smart contracts, and evaluate when distributed ledgers solve real problems.
homepage: https://clawic.com/skills/blockchain
metadata:
  clawdbot:
    emoji: ⛓️
    displayName: 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`.


---
Source attribution: clawic
Original project: https://github.com/clawic/skills/blob/f825206afbf1c697202533a9187be68c7b697e0e/skills/blockchain/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Ivan G. Davila

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: clawic
Original project: https://github.com/clawic/skills/blob/f825206afbf1c697202533a9187be68c7b697e0e/skills/blockchain/SKILL.md
Attribution basis: Source repository record

Fields of work: Data & Analytics, Development & Engineering, Product Management, Sales
Roles: Backend Developer, Business Development, Data Scientist, ML / AI Engineer, Product Manager
Specialties: API, Backend, Cross Platform
Tools: Viem
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: cf8b5364b23a56300505bdddf3b36b95043fde2fd17a1c5c011c22ba9a67f7f3
