Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

distributed-ledger

FreeNo executable scriptsNot checked

Distributed-ledger / blockchain architecture in general (engine-agnostic): when a ledger beats a database, consensus families (PoW/PoS/BFT), L1 vs L2…

claude-dev-suiteby claude-dev-suite★ 51 GitHub stars

About this skill

Distributed-Ledger Architecture (general)

Generalizes the Bitcoin-specific bitcoin/* skills into engine-agnostic ledger design. For deep Bitcoin/Lightning specifics, defer to those skills.

First question: do you actually need a ledger?

A ledger is an append-only, replicated, tamper-evident log agreed by mutually-distrusting parties. Use one only when you genuinely have: multi-party lack of trust, a need for shared auditable state, and no acceptable trusted intermediary. If a single org controls the data, a normal (possibly append-only/audited) database is simpler, faster, and cheaper — most "blockchain" projects should be databases.

Consensus family (builds on distributed-consensus)

Family Sybil resistance Trade-off
PoW Burn energy Robust, slow, energy-heavy, probabilistic finality
PoS Stake capital Efficient, fast finality, weak-subjectivity/validator-set concerns
BFT (PBFT/Tendermint) Known validator set Fast deterministic finality, bounded validators → more permissioned

Permissionless (open validator set) favors PoW/PoS; permissioned/consortium favors BFT.

Layering: L1 vs L2

  • L1 = base chain (security + data availability). Scaling it directly hits the trilemma.
  • L2 moves execution off L1 while inheriting its security:
    • Rollups post compressed data + proofs to L1. ZK rollups (validity proofs, fast finality, harder to build) vs optimistic rollups (fraud proofs, challenge window/withdrawal delay).
    • State/payment channels (e.g. Lightning) — off-chain bilateral updates, on-chain settlement; great for high-frequency payments.
    • Sidechains — own security, bridged; weaker guarantees.

Other decisions

  • Permissioned vs permissionless: trust model + regulatory needs.
  • State model: UTXO (parallelizable, privacy, harder smart contracts) vs account (stateful contracts, simpler, sequential nonces).
  • Trilemma: decentralization / security / scalability — you optimize two; L2s are the usual escape valve.
  • Finality: probabilistic (PoW) vs deterministic/instant (BFT) — affects UX and bridge safety.

Guidance

Single trust domain → database. Multi-party, open → permissionless L1 + L2 for scale. Known consortium → permissioned BFT chain. High-frequency payments → channels. Always justify the ledger over a database first.

Full SKILL.md on GitHub

Install distributed-ledger in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Grep
Glob

FAQ

What does the distributed-ledger skill do?

Distributed-ledger / blockchain architecture in general (engine-agnostic): when a ledger beats a database, consensus families (PoW/PoS/BFT), L1 vs L2 (rollups, channels, sidechains), permissioned vs permissionless, UTXO vs account models, and the scalability trilemma. Architect-level, not coin-specific. USE WHEN: designing/evaluating a blockchain or DLT system in general, "L2", "rollup", "zk vs optimistic", "PoS vs PoW", "permissioned ledger", "consortium chain", "UTXO vs account", "do we even need a blockchain", token/state design. DO NOT USE FOR: Bitcoin-specific work (use the `bitcoin/*` skills); raw consensus internals (use `distributed-consensus`); ordinary app data (use database / data-intensive skills).

How do I install the distributed-ledger skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the distributed-ledger skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare distributed-ledger with