Overview
ln.bot gives any application — or any AI agent — a Bitcoin Lightning wallet through APIs, SDKs, and an MCP server.
ln.bot gives any application — or any AI agent — a Bitcoin Lightning wallet. No node to run, no channels to manage, no protocol internals. You make API calls; ln.bot handles the infrastructure.
What you get
A wallet with a Lightning address. Every wallet gets an address like agent01@ln.bot that can receive sats from any Lightning wallet in the world.
Instant payments. Send and receive sats in milliseconds. Internal transfers between ln.bot wallets are free.
Multiple interfaces. CLI for humans, REST API for code, MCP server for AI agents, SDKs for TypeScript, Python, Go, Rust, and C#.
L402 support. Built-in support for the L402 protocol — create challenges, verify tokens, and pay paywalls. Turn any API into a paid service without signup flows or billing.
How agents use it
An AI agent with an ln.bot wallet can:
- Receive payments by sharing its Lightning address or generating invoices
- Send payments to any Lightning address, LNURL, or BOLT11 invoice
- Pay for APIs automatically when encountering L402 paywalls
- Monetize its own services by gating endpoints behind L402
The MCP server connects AI agents (Claude, Cursor, etc.) directly to Lightning — the agent discovers available tools and calls them natively.
Get started
The fastest way to get going:
curl -fsSL https://ln.bot/install.sh | bash && lnbot initThis installs the CLI and creates your first wallet. From there:
- Quick Start — four steps to a working wallet
- CLI Reference — every command, with examples
- MCP Server — connect an AI agent
- REST API — programmatic access
- SDKs — native libraries for five languages