Skip to content
@lnbotdev

ln.bot

Bitcoin for AI agents and autonomous systems. Send and receive sats over Lightning with a few lines of code.
 ██╗     ███╗   ██╗   ██████╗  ██████╗ ████████╗
 ██║     ████╗  ██║   ██╔══██╗██╔═══██╗╚══██╔══╝
 ██║     ██╔██╗ ██║   ██████╔╝██║   ██║   ██║
 ██║     ██║╚██╗██║   ██╔══██╗██║   ██║   ██║
 ███████╗██║ ╚████║██╗██████╔╝╚██████╔╝   ██║
 ╚══════╝╚═╝  ╚═══╝╚═╝╚═════╝  ╚═════╝    ╚═╝

Bitcoin for AI Agents.

Give your AI agents access to Bitcoin. Lightning wallet with CLI, MCP, and API — ready in seconds.

Website · Documentation · Get Started


0x01 INTERFACES

One action. Three protocols. Pay 1,000 sats — through whichever interface fits your stack.

CLI — pipe it, script it, cron it

$ lnbot pay alice@ln.bot --amount 1000
✓ Sent! Settled instantly
  amount:  1,000 sats
  balance: 46,500 sats

MCP — give any AI model a Lightning wallet

{
  "mcpServers": {
    "lnbot": {
      "type": "url",
      "url": "https://api.ln.bot/mcp",
      "headers": { "Authorization": "Bearer key_..." }
    }
  }
}

REST API — standard HTTP from any language

POST /v1/payments
{ "target": "alice@ln.bot", "amount": 1000 }

→ 200 { "number": 1, "status": "settled", "amount": 1000, "actualFee": 0 }

0x02 SDKs

SDKs that feel native. Pick your language.

TypeScript   npm

import { LnBot } from "@lnbot/sdk"

const ln = new LnBot({ apiKey: "key_..." })
await ln.payments.create({ target: "alice@ln.bot", amount: 1000 })

typescript-sdk →

Python   PyPI

from lnbot import LnBot

ln = LnBot(api_key="key_...")
ln.payments.create(target="alice@ln.bot", amount=1000)

python-sdk →

Go   Go

client := lnbot.New("key_...")

client.Payments.Create(ctx, &lnbot.CreatePaymentParams{
    Target: "alice@ln.bot",
    Amount: lnbot.Ptr(int64(1000)),
})

go-sdk →

Rust   crates.io

let ln = LnBot::new("key_...");

ln.payments().create(
    CreatePaymentParams::new().target("alice@ln.bot").amount(1000),
).await?;

rust-sdk →


0x03 WHY LN.BOT

  • Built for agents — Programmatic wallets, API keys, and idempotent payments designed for autonomous software.
  • Instant settlement — Payments arrive in seconds, not days.
  • Lightning addresses — Human-readable addresses like name@ln.bot
  • Real-time events — SSE streams and webhooks for payment notifications.
  • Recovery built in — 12-word BIP-39 passphrase and passkey backup.
  • Simple pricing — No monthly fees — pay only when you move sats off-network.

0x04 PRICING

No subscriptions. No tiers. Just usage.

  ln.bot  →  ln.bot     free
  ln.bot  →  Lightning  0.1% + network fee
  Lightning →  ln.bot   free

  minimum fee: 1 sat
  no monthly fees · no hidden costs · pay only when you move sats off-network

0x05 GET STARTED

Install the CLI:

curl -fsSL https://ln.bot/install.sh | bash

Create a wallet and start using it:

lnbot init
lnbot wallet create --name agent01
lnbot invoice create --amount 1000 --memo "first payment"
lnbot balance

Or use an SDK:

npm install @lnbot/sdk     # TypeScript
pip install lnbot           # Python
go get github.com/lnbotdev/go-sdk  # Go
cargo add lnbot             # Rust

Your AI agent now has access to Bitcoin. ⚡


ln.bot · Docs · CLI · TypeScript · Python · Go · Rust

MIT License

Popular repositories Loading

  1. typescript-sdk typescript-sdk Public

    The official TypeScript SDK for ln.bot - Bitcoin for AI Agents.

    TypeScript 1

  2. cli cli Public

    Go 1

  3. go-sdk go-sdk Public

    The official Go SDK for ln.bot - Bitcoin for AI Agents.

    Go

  4. python-sdk python-sdk Public

    The official Python SDK for LnBot - Bitcoin for AI Agents.

    Python

  5. .github .github Public

  6. rust-sdk rust-sdk Public

    The official Rust SDK for ln.bot - Bitcoin for AI Agents.

    Rust

Repositories

Showing 10 of 11 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…