Lightning Network
Accept Bitcoin over Lightning using your own LND node - instant, zero-confirmation settlement for BTC payments.
How it works#
Connect your LND node and a Bitcoin Lightning tile appears on checkouts. Choosing it:
- Checks your node's incoming channel capacity when the macaroon allows it - if there is not enough remote balance to route the payment, the buyer is told immediately instead of paying into a dead invoice (with an invoice-only macaroon the check is skipped and the invoice itself decides)
- Creates a BOLT-11 invoice for the satoshi amount (priced off the on-chain BTC rate)
- Shows the payment request and QR code; settlement is detected by polling the invoice directly on your node - from the buyer's browser and by a server-side sweep, so a closed tab never strands a paid order
Settlement is instant: a paid Lightning invoice completes the transaction with zero confirmations - no block wait, no confirmation threshold.
Setup#
- Open Settings → Nodes & Testnet (requires the wallets permission)
- Under Bitcoin Lightning Network, set your node URL in full form (e.g.
https://lnd.yourdomain.comorhttps://lnd.yourdomain.com:8443behind a reverse proxy); a bare hostname still defaults tohttps://and the LND port 8080 - Paste your LND macaroon hex - the
invoice.macaroonis enough (least privilege: it can create and query invoices, nothing else) and it is stored encrypted - Optionally add extra headers (e.g.
Grpc-Metadata-macaroon) if your node sits behind a proxy - Turn Lightning active on
Running it well#
- Inbound liquidity is the constraint. Keep enough remote balance on your channels for your typical sale size; U.CASH emails you when a payment had to be refused for insufficient remote balance
- HTTPS with a valid certificate is required - the connection to your node verifies TLS, and settlement verification fails closed: if your node cannot be reached, orders are never marked paid
- Lightning runs alongside on-chain BTC; buyers pick their rail from the two tiles
- Fees: Lightning payments settle to your node; you pay only channel costs - there is no platform surcharge for the rail