dblurt developer guide

This directory contains the canonical human-written developer documentation for @beblurt/dblurt.

Every guide should answer one precise developer question. AI-specific routing and repository-agent instructions live outside this directory.

Location Role Maintained by Rule
README.md Landing page and first-contact experience humans route readers to the right source
guide/ Human developer guides humans canonical explanations and task guides
examples/ Executable evidence humans + validation reusable read-only/product examples first
ai/ Thin AI context/rules humans link to guide/ and examples/; do not duplicate them
docs/ Generated API reference site TypeDoc regenerated by make docs; do not edit by hand
Developer question Guide
How do I make my first Blurt RPC call? Getting started
What do Blurt, blocks, operations, authorities and Nexus mean? Blockchain model
Which dblurt API surface should I use? API guide
Where are runnable examples? Examples and ../examples/README.md
Can I use dblurt in my runtime? Runtime compatibility
How do I use dblurt in a browser? Browser usage
How does RPC failover work? RPC failover
How do I publish a transaction safely? Broadcasting
What is Nexus Layer 2? Nexus Layer 2
How do keys, crypto and memos work? Crypto, keys and memos
How should I reason about security boundaries? Security guide
How should I use TypeScript? TypeScript
What are common answers? FAQ
How should AI assistants use the docs? ../ai/README.md
How should maintainers validate docs/builds? Maintainer workflows

Follow this path when learning dblurt for the first time:

  1. Getting started — install and run a first read-only RPC call.
  2. Blockchain model — learn the domain vocabulary.
  3. API guide — choose the right helper surface.
  4. Examples — run reusable examples from examples/.
  5. Nexus Layer 2 — understand indexed/social views.
  6. Broadcasting — only after read-only flows are clear.

This path links existing guides instead of duplicating their content.

Run:

make docs

Then open:

docs/index.html

TypeDoc imports the Markdown files in this directory through projectDocuments, so the generated site can expose both API reference pages and long-form guides while keeping docs/ fully generated.