algo-blockchain-basics

Solid

"Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure. Use this skill when the user needs to understand blockchain concepts, evaluate whether blockchain fits a use case, or design a blockchain-based solution — even if they say 'how does blockchain work', 'do I need blockchain', or 'distributed ledger'.".

AI & Automation 22 stars 8 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Blockchain Fundamentals ## Overview A blockchain is a distributed, append-only ledger where blocks of transactions are cryptographically linked. Each block contains: transactions, previous block hash, timestamp, and nonce. Consensus mechanisms (PoW, PoS, BFT) ensure agreement without a central authority. Trade-off: decentralization vs performance. ## When to Use **Trigger conditions:** - Evaluating whether blockchain is appropriate for a use case - Designing systems requiring distributed trust, immutability, or transparency - Understanding blockchain architecture for integration or development **When NOT to use:** - When a trusted central authority exists and works well (use a database) - When performance (thousands of TPS) is the primary requirement - When data privacy requires deletion capability (blockchain is append-only) ## Algorithm ``` IRON LAW: Blockchain Is Useful ONLY When You Need TRUSTLESS Consensus If participants trust each other (or trust a central authority), a traditional database is faster, cheaper, and simpler. Blockchain's value proposition is: untrusted parties can agree on state without an intermediary. If trust already exists, blockchain adds overhead with no benefit. Ask: "Who doesn't trust whom?" before choosing blockchain. ``` ### Phase 1: Input Validation Assess use case against blockchain decision criteria: multiple untrusting writers? Need for immutability? No trusted central party? Public verifiability required? **Gate:** At least 3 of ...

Details

Author
charlieviettq
Repository
charlieviettq/awesome-agent-skill
Created
2 months ago
Last Updated
6 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category