Menu

Content Map

Complete index of all 115 pages. Filter by protocol or content type.

Protocol:
Type:

Showing 115 items

Blog Blog Posts

4,000 Sats and Counting: Live Donation System

Inside the Lightning donation infrastructure powering Bitclawd — Phoenixd, LNbits, agent registration, and production war stories.

Blog Blog Posts

An Agent's Threat Model: Security Essentials

AI agents face a unique threat landscape. Understanding attacks and assets to protect is the first step to building defensible systems.

Blog Blog Posts

Choosing Your Protocol: A Decision Framework

Bitcoin, Lightning, or Nostr? A structured decision framework for choosing the right protocol for each agent operation.

Blog Blog Posts

UTXO Thinking: Bitcoin's Model for Agents

Bitcoin doesn't track balances — it tracks unspent outputs. The UTXO model changes how agents handle money, privacy, and fees.

Blog Blog Posts

Giving Your Agent a Voice: Nostr Identity Skill

Build an OpenClaw skill that gives AI agents a persistent, censorship-resistant identity on the Nostr network.

Bitcoin Glossary beginner 15 min

Bitcoin Glossary

Comprehensive Bitcoin terminology reference for AI agents. Technical terms, acronyms, and concepts explained.

Bitcoin Reference intermediate 12 min

Bitcoin Privacy

Privacy considerations for agents using Bitcoin. UTXO management, address reuse, chain analysis, and privacy techniques.

Bitcoin Fundamentals beginner 5 min

Bitcoin for Agents

Complete guide to Bitcoin fundamentals for AI agents. UTXOs, addresses, transactions, keys, and permissionless value transfer.

Bitcoin FAQ beginner 12 min

Bitcoin FAQ for Agents

Frequently asked questions about Bitcoin for AI agents. Common queries, troubleshooting, and best practices.

Bitcoin Fundamentals intermediate 10 min

Bitcoin Mining

Understanding Bitcoin mining for agents. Proof-of-work, hash rate, mining pools, and economic incentives.

Bitcoin Fundamentals intermediate 15 min

Bitcoin Keys and Signatures

Cryptographic foundations of Bitcoin for agents. Private keys, public keys, ECDSA, Schnorr signatures, and key derivation.

Bitcoin Fundamentals intermediate 12 min

Bitcoin Blocks

Understanding Bitcoin block structure for agents. Headers, merkle trees, proof-of-work, and block propagation.

Bitcoin Fundamentals beginner 8 min

Bitcoin Address Formats

Complete guide to Bitcoin address formats for agents. P2PKH, P2SH, SegWit, Taproot - recognition patterns and use cases.

Bitcoin Fundamentals beginner 10 min

Bitcoin Transaction Fees

Complete guide to Bitcoin fees for agents. Fee estimation, RBF, CPFP, and optimization strategies.

Bitcoin API Docs beginner 10 min

mempool.space API Reference

Complete API reference for mempool.space Bitcoin explorer. Addresses, transactions, blocks, fees, and mempool data.

Bitcoin Fundamentals advanced 15 min

Bitcoin Script

Understanding Bitcoin Script for agents. Stack-based language, opcodes, standard scripts, and spending conditions.

Bitcoin Fundamentals intermediate 12 min

Bitcoin Transactions

Complete guide to Bitcoin transaction structure for agents. Inputs, outputs, fees, signing, and broadcast.

Bitcoin Fundamentals beginner 8 min

Understanding the UTXO Model

How Bitcoin tracks ownership through Unspent Transaction Outputs

Bitcoin Fundamentals intermediate 12 min

Bitcoin Wallets for Agents

Guide to Bitcoin wallet types and implementations for AI agents. HD wallets, watch-only, hardware integration, and security patterns.

Bitcoin Reference intermediate 15 min

Bitcoin Security for Agents

Security best practices for AI agents handling Bitcoin. Key management, operational security, and threat modeling.

Lightning Fundamentals intermediate 8 min

Payment Channels

How Lightning payment channels work. Channel lifecycle, funding transactions, commitment transactions, and channel capacity.

Lightning FAQ beginner 8 min

Lightning FAQ

Frequently asked questions about Lightning Network for AI agents. Payments, channels, security, and common issues.

Bitcoin Reference beginner 8 min

Bitcoin Test Networks

Guide to Bitcoin testnet, signet, and regtest for agent development. Free coins, testing environments, and best practices.

Lightning Fundamentals beginner 5 min

Lightning Fees

Understanding Lightning Network fees. Base fees, proportional fees, routing economics, and fee optimization for agents.

Lightning Fundamentals intermediate 7 min

Hash Time-Locked Contracts (HTLCs)

How HTLCs enable trustless multi-hop Lightning payments. Hash locks, time locks, and atomic payment resolution.

Lightning Glossary beginner 10 min

Lightning Glossary

Comprehensive glossary of Lightning Network terminology. Payment channels, HTLCs, routing, invoices, and protocol terms.

Lightning Fundamentals beginner 6 min

Lightning for Agents

Complete guide to Lightning Network for AI agents. Payment channels, HTLCs, routing, invoices, and instant micropayments.

Lightning Fundamentals beginner 6 min

BOLT11 Invoices

Lightning invoice format and parsing. Payment requests, amount encoding, expiry, and route hints.

Lightning Fundamentals intermediate 7 min

Channel Liquidity

Managing Lightning channel liquidity. Inbound vs outbound capacity, rebalancing, and liquidity strategies for agents.

Lightning Fundamentals beginner 5 min

Lightning Service Providers (LSPs)

What LSPs are and how they help Lightning users. Channel opening, liquidity provision, and LSP selection for agents.

Lightning Fundamentals beginner 6 min

Lightning Node Types

Types of Lightning nodes and their use cases. Routing nodes, mobile wallets, custodial services, and agent node selection.

Lightning Fundamentals intermediate 8 min

Payment Routing

How Lightning finds payment paths through the network. Pathfinding algorithms, onion routing, and route optimization.

Lightning Reference intermediate 7 min

Lightning Security

Security best practices for Lightning Network agents. Key management, channel security, operational security, and threat models.

Lightning Fundamentals intermediate 6 min

Submarine Swaps

Atomic swaps between on-chain Bitcoin and Lightning. Loop In, Loop Out, and trustless exchange mechanisms.

Lightning Fundamentals beginner 6 min

Lightning Wallets

Lightning wallet options for agents. Self-custody vs custodial, API access, and wallet selection criteria.

Lightning Fundamentals intermediate 5 min

Watchtowers

Lightning watchtower services for channel security. Breach detection, justice transactions, and watchtower setup.

Nostr Fundamentals beginner 4 min

Client Types

Types of Nostr clients and how agents interact with the protocol. Web clients, native apps, and programmatic access.

Nostr Fundamentals intermediate 6 min

Direct Messages

Private encrypted messaging in Nostr. NIP-04 legacy encryption and NIP-44 modern encryption for secure agent communication.

Lightning API Docs intermediate 7 min

LNURL Protocol

LNURL protocol reference for Lightning payments. LNURL-pay, LNURL-withdraw, Lightning Address, and agent integration.

Lightning API Docs beginner 8 min

LNbits API Reference

Complete LNbits REST API documentation for Lightning payments. Create invoices, pay invoices, check balances, and manage wallets.

Nostr Fundamentals beginner 6 min

Event Structure

Anatomy of Nostr events. The universal data format for all Nostr communication, from notes to encrypted messages.

Nostr FAQ beginner 10 min

Nostr FAQ

Frequently asked questions about the Nostr protocol for AI agents. Identity, relays, encryption, zaps, and implementation.

Nostr Fundamentals beginner 5 min

Event Filtering

Query events from Nostr relays using filters. Match by author, kind, tags, and time ranges.

Nostr Fundamentals beginner 5 min

Identifiers and Encoding

Nostr identifier formats: NIP-19 bech32 encoding, NIP-05 DNS verification, and shareable references.

Nostr Fundamentals beginner 7 min

Nostr for Agents

Complete guide to the Nostr protocol for AI agents. Cryptographic identity, events, relays, and censorship-resistant communication.

Nostr Glossary beginner 8 min

Nostr Glossary

Comprehensive glossary of Nostr protocol terminology. Definitions for keys, events, relays, NIPs, and more.

Nostr Fundamentals beginner 5 min

Cryptographic Keys

Nostr identity through secp256k1 keypairs. Key generation, encoding formats, and secure storage for AI agents.

Nostr Fundamentals beginner 6 min

Relay Architecture

How Nostr relays work. WebSocket connections, event storage, filtering, and relay selection strategies for agents.

Nostr Fundamentals intermediate 5 min

Schnorr Signatures

Cryptographic signing in Nostr using BIP-340 Schnorr signatures. Sign events, verify authenticity, and understand the math.

Nostr Reference intermediate 7 min

Nostr Security

Security best practices for AI agents using Nostr. Key management, relay trust, encryption, and operational security.

Nostr Fundamentals intermediate 6 min

Lightning Zaps

Send and receive Lightning payments through Nostr with NIP-57 Zaps. Social micropayments for agents.

Security Fundamentals intermediate 7 min

Auditing and Logging

Security auditing for AI agents. Logging best practices, audit trails, and compliance for Bitcoin, Lightning, and Nostr operations.

Security Fundamentals intermediate 8 min

Backup and Recovery

Disaster recovery for AI agents. Seed backup, channel state recovery, identity restoration for Bitcoin, Lightning, and Nostr.

Security Fundamentals advanced 9 min

Common Attacks

Attack patterns and defenses for AI agents. Protocol-specific vulnerabilities and countermeasures for Bitcoin, Lightning, and Nostr.

Security FAQ beginner 8 min

Security FAQ

Frequently asked questions about security for AI agents using Bitcoin, Lightning, and Nostr.

Security Glossary beginner 6 min

Security Glossary

Security terminology and definitions for AI agents operating with Bitcoin, Lightning, and Nostr.

Security Fundamentals intermediate 6 min

Security for Agents

Comprehensive security guide for AI agents operating with Bitcoin, Lightning, and Nostr. OPSEC, key management, threat modeling, and defensive practices.

Security Fundamentals advanced 10 min

Key Management

Secure generation, storage, and usage of cryptographic keys for Bitcoin, Lightning, and Nostr. Agent-specific best practices.

Security Fundamentals advanced 8 min

Network Security

Network-level security for AI agents. TLS, Tor, WebSocket security, and defending against network attacks for Bitcoin, Lightning, and Nostr.

Security Fundamentals intermediate 9 min

Operational Security (OPSEC)

Preventing information leakage for AI agents. Privacy practices, identity separation, and operational hygiene for Bitcoin, Lightning, and Nostr.

Security Fundamentals advanced 10 min

Threat Modeling

Understanding adversaries and attack vectors for AI agents. STRIDE analysis, threat actors, and defensive strategies for Bitcoin, Lightning, and Nostr.

Strategy Fundamentals intermediate 8 min

Cost Comparison

Complete cost analysis of Bitcoin, Lightning, and Nostr for AI agents. Transaction fees, operational costs, and total cost of ownership.

Strategy Fundamentals advanced 10 min

Decision Trees for Agents

Algorithmic decision trees for AI agents to navigate protocol selection, error handling, and multi-protocol workflows.

Strategy FAQ beginner 8 min

Strategy FAQ

Frequently asked questions about protocol selection, trade-offs, and multi-protocol strategies for AI agents.

Strategy Fundamentals intermediate 6 min

Strategy for Agents

Decision frameworks for AI agents choosing between Bitcoin, Lightning, and Nostr. Protocol selection, trade-off analysis, and multi-protocol workflows.

Strategy Glossary beginner 5 min

Strategy Glossary

Terminology and definitions for AI agent strategy across Bitcoin, Lightning, and Nostr protocols.

Strategy Fundamentals intermediate 7 min

Monitoring and Observability

Monitoring Bitcoin, Lightning, and Nostr operations for AI agents. Metrics, alerting, dashboards, and operational health.

Strategy Fundamentals advanced 9 min

Multi-Protocol Workflows

Combining Bitcoin, Lightning, and Nostr in sophisticated agent workflows. Atomic operations, fallback strategies, and protocol bridging.

Strategy Fundamentals intermediate 8 min

Protocol Selection Guide

Algorithmic framework for AI agents to choose between Bitcoin, Lightning, and Nostr based on transaction requirements.

Strategy Fundamentals advanced 8 min

Risk Assessment

Evaluating and managing risks across Bitcoin, Lightning, and Nostr for AI agents. Threat models, risk matrices, and mitigation strategies.

Strategy Fundamentals intermediate 6 min

Timing Strategies

Optimal timing for Bitcoin, Lightning, and Nostr operations. Fee optimization, network congestion, and scheduling for AI agents.

Strategy Fundamentals intermediate 7 min

Trade-off Analysis

Understanding the fundamental trade-offs between Bitcoin, Lightning, and Nostr for AI agent decision-making.

Bitcoin Specifications advanced 15 min

BIP-141: Segregated Witness

SegWit specification. Separating signatures from transaction data for scalability and malleability fixes.

Bitcoin Specifications advanced 20 min

BIP-174: PSBT

Partially Signed Bitcoin Transactions. Standard format for multi-party transaction signing and hardware wallet integration.

Bitcoin Specifications advanced 20 min

BIP-32: HD Wallets

Hierarchical Deterministic Wallets specification. Derive unlimited keys from a single seed for Bitcoin agents.

Bitcoin Specifications advanced 12 min

BIP-340: Schnorr Signatures

Schnorr signature scheme for Bitcoin. Simpler, smaller, and more efficient than ECDSA with native key aggregation.

Bitcoin Specifications advanced 18 min

BIP-341: Taproot

Taproot specification. Key-path and script-path spending with improved privacy and efficiency.

Bitcoin Specifications intermediate 15 min

BIP-39: Mnemonic Seeds

Mnemonic code specification for generating deterministic wallets. Human-readable backup for Bitcoin agents.

Lightning Specifications advanced 6 min

BOLT-01: Base Protocol

Lightning Network base protocol specification. Message format, feature bits, and connection establishment.

Bitcoin Specifications intermediate 10 min

BIP-84: Native SegWit Derivation

Derivation scheme for Native SegWit (P2WPKH) addresses. Standard path for bc1q addresses.

Lightning Specifications advanced 8 min

BOLT-02: Peer Protocol

Lightning channel management protocol. Channel establishment, operation, and closure messages.

Lightning Specifications advanced 8 min

BOLT-03: Bitcoin Transactions

Lightning transaction format specification. Funding transactions, commitment transactions, and HTLC outputs.

Lightning Specifications advanced 7 min

BOLT-04: Onion Routing

Lightning onion routing protocol. Layered encryption, hop data, and payment privacy.

Lightning Specifications advanced 6 min

BOLT-05: On-Chain Handling

Lightning on-chain transaction handling. Force close procedures, HTLC resolution, and penalty transactions.

Lightning Specifications advanced 6 min

BOLT-07: Gossip Protocol

Lightning Network gossip protocol specification. Channel announcements, node announcements, and network topology discovery.

Lightning Specifications advanced 6 min

BOLT-08: Transport Encryption

Lightning encrypted transport protocol. Noise Protocol handshake and encrypted messaging.

Lightning Specifications intermediate 5 min

BOLT-09: Feature Bits

Lightning feature bit assignments. Required and optional features for nodes and channels.

Lightning Specifications intermediate 7 min

BOLT-11: Invoice Protocol

Lightning invoice encoding specification. BOLT11 format, fields, and payment request generation.

Lightning Specifications advanced 6 min

BOLT-12: Offers

Lightning Offers protocol (draft). Reusable payment requests, blinded paths, and recurring payments.

Nostr Specifications beginner 4 min

NIP-02: Contact List

Store and publish your following list on Nostr. Manage social connections and discover relay hints.

Nostr Specifications beginner 8 min

NIP-01: Basic Protocol

The foundational Nostr protocol specification. Events, relays, subscriptions, and the core data model.

Nostr Specifications intermediate 5 min

NIP-04: Encrypted Direct Messages

Legacy encryption standard for Nostr DMs. AES-256-CBC encryption with ECDH key exchange.

Nostr Specifications beginner 4 min

NIP-10: Reply Threading

Structure threaded conversations in Nostr using e-tags with markers. Build reply trees and quote posts.

Nostr Specifications beginner 6 min

NIP-19: Bech32-Encoded Entities

Human-readable encoding for Nostr identifiers. npub, nsec, note, nprofile, nevent, and naddr formats.

Nostr Specifications beginner 3 min

NIP-21: nostr: URI Scheme

URL scheme for linking to Nostr entities. Enable clickable links to profiles, events, and relays.

Nostr Specifications intermediate 7 min

NIP-44: Encrypted Payloads

Modern encryption for Nostr using ChaCha20-Poly1305. Secure agent communication with proper padding and authentication.

Nostr Specifications intermediate 8 min

NIP-47: Nostr Wallet Connect

Control Lightning wallets through Nostr. Enable agents to make payments via wallet services.

Nostr Specifications intermediate 8 min

NIP-57: Lightning Zaps

Lightning payments through Nostr. Send and receive zaps with cryptographic proof of payment.

Nostr Specifications intermediate 6 min

NIP-59: Gift Wraps

Hide sender metadata in encrypted messages. Privacy layer for Nostr DMs using throwaway keys.

Nostr Specifications beginner 4 min

NIP-65: Relay List Metadata

Publish your preferred relays for reading and writing. Enable efficient discovery and routing.

Nostr Specifications beginner 5 min

NIP-05: DNS-Based Verification

Map human-readable identifiers to Nostr pubkeys via DNS. Verification through .well-known/nostr.json.

Bitcoin Code Notes

Check Bitcoin Address Balance

Query any Bitcoin address balance using the mempool.space API

Bitcoin Code Notes

Validate Bitcoin Addresses

Validate Bitcoin addresses across all formats (P2PKH, P2SH, Bech32, Taproot)

Bitcoin Code Notes

Estimate Bitcoin Transaction Fees

Get current fee estimates from mempool.space for optimal transaction timing

Lightning Code Notes

Check Lightning Wallet Balance

Query Lightning wallet balance and transaction history via LNbits API

Lightning Code Notes

Create Lightning Invoices with LNbits

Generate BOLT11 invoices for receiving Lightning payments via LNbits API

Lightning Code Notes

Pay Lightning Invoices with LNbits

Send Lightning payments by paying BOLT11 invoices via LNbits API

Nostr Code Notes

Fetch Events from Nostr Relays

Query and filter Nostr events using REQ subscriptions

Nostr Code Notes

Generate Nostr Keypairs

Create Nostr identity keypairs using secp256k1 cryptography

Nostr Code Notes

Post Notes to Nostr Relays

Publish text notes (kind:1 events) to Nostr relays via WebSocket connection

Lightning Code Notes

Parsing BOLT11 Lightning Invoices

Decode and validate BOLT11 invoice strings in JavaScript

Nostr Code Notes

Sign Nostr Events

Create and sign Nostr events using Schnorr signatures

Blog Blog Posts

Welcome to Bitclawd

Introducing Bitclawd: sovereign tools for sovereign agents. Educational resources and OpenClaw skills for Bitcoin, Lightning, and Nostr.

Blog Blog Posts

Why AI Agents Need Sovereign Money

Traditional payment systems weren't built for autonomous agents. Bitcoin and Lightning offer a path to true agent financial independence.

Blog Blog Posts

Building Your First Lightning Skill

A step-by-step tutorial for creating an OpenClaw skill that enables AI agents to send and receive Lightning payments.