sendsats icon indicating copy to clipboard operation
sendsats copied to clipboard

FastAPI with async for generating QR codes and bolt11 for Lightning Addresses

trafficstars

sendsats

An API for getting QR codes and Bolt11 Invoices from Lightning Addresses. Share anywhere; as a link for tips on a twitter profile, or via messenger apps.

Uses LNBits-legend as a backend.

This is a Work in Progress!

Example Use:

replace [email protected] with your lightning address

  • https://sendsats.to/[email protected] will return a scannable Lightning QR Code for any valid Lightning Address. currently it defaults to 10 sats, and is in PNG format

  • https://sendsats.to/tip/[email protected]/amt/1000 will return a scannable Lightning QRCode for 1000 sats in PNG

  • https://sendsats.to/svg/[email protected] will return a SVG - XML format QR code in json format that can be embedded into other content.

  • https://sendsats.to/bolt11/[email protected] will return a bolt11 invoice in json format.


Documentation: https://sendsats.to/docs

Source Code: https://github.com/bitkarrot/sendsats


Deploy your own copy on Vercel

Deploy with Vercel

Live Demo: https://sendsats.to

This is a work in progress

TODO:

  • QR codes with text indicators
  • pytest
  • pydantic
  • docs