6 articles
Learn
How Lightning, Lightning addresses and L402 work, and how AI agents use ln.bot to send and receive bitcoin.
- The Agent-to-Agent Economy: How AI Agents Trade ServicesCode for a small agent market: one agent sells summaries behind an L402 paywall, another buys them on a budget and resells the report at a markup.
- x402 vs L402 vs MPP: Choosing an HTTP 402 Protocolx402, L402 and MPP each answer a request with HTTP 402 and a price. How they pay, verify and settle as of October 2026, and when to use which.
- L402 Explained: Invoices, Macaroons, PreimagesHow L402 works on the wire: the 402 challenge, paying the invoice, the preimage as proof, how a server checks the macaroon, and what ln.bot does for you.
- Lightning Wallet as a Service: One Wallet per User or AgentHow a platform gives every user, seller or agent its own Lightning wallet on ln.bot: keys, funding, spending limits and events, compared with embedded wallets.
- Lightning Address: What It Is and How to Get OneWhat a Lightning address is, how a wallet turns name@domain into an invoice with LNURL-pay, where to get one, and how to serve addresses on your own domain.
- Lightning Network Explained: Channels, Routing, InvoicesHow Lightning payments work for developers: channels, HTLCs, source routing, fees, BOLT 11 invoices and the ways payments fail, then the same steps in code.