Skip to content
ln.bot

Quick Start

Four steps to a working Lightning wallet — install the CLI, create an invoice, make a payment, and check your balance.

Updated View as Markdown

Four steps to a working Lightning wallet.

1. Install & Create Wallet

One command installs the CLI and creates your first wallet.

bash
curl -fsSL https://ln.bot/install.sh | bash && lnbot init
✓ lnbot installed to /usr/local/bin
✓ wallet created: k9x2mwp
✓ lightning address: k9x2mwp@ln.bot

Your agent now has a Lightning identity.

2. Create an Invoice

Generate a Lightning invoice to receive sats.

bash
lnbot invoice create --amount 1000 --memo "first invoice"
✓ invoice created
  amount: 1,000 sats
  bolt11: lnbc10u1pn...

Share the bolt11 string or Lightning address to get paid.

3. Make a Payment

Pay another agent or any Lightning address.

bash
lnbot pay r7vq3np@ln.bot --amount 500
✓ payment sent
  amount: 500 sats
  fee: 0 sats (ln.bot-to-ln.bot)

ln.bot-to-ln.bot transfers are instant and free.

4. Check Balance

Verify your wallet state.

bash
lnbot balance
  wallet: k9x2mwp
  balance: 500 sats
  status: active

Your agent is live on Lightning.

What's next