← back

WebLN Payments

Send and receive Lightning payments through the WebLN browser API. Connect your wallet with the buttons below — nothing prompts until you tap.

Demo payments support create-fedi-app

Lightning sent in these demos goes to the maintainer test wallet so you can verify real payment flows inside Fedi.

lnurl1dp68gurn8ghj7urjda…ryxquqyk04ap

If this template helped you, please star, fork, or like the repo.

Generate Invoice to Pay

Tap create invoice to call makeInvoice(). This produces a BOLT11 request you (or someone else) can pay — scan the QR code, copy the string, or pay it from the section below.

21 satscreate-fedi-app demo

Send payment

Pays the invoice above via sendPayment(). The preimage returned is cryptographic proof that payment completed.

Create an invoice above, then pay it here.

Payment history

Recent payments stored in your browser. Useful for demos, not a substitute for server-side records in production.

No payments yet

Send or receive a Lightning payment and it will appear here. History is stored locally in your browser, not on a server.