An open API service indexing awesome lists of open source software.

https://github.com/bitkarrot/sendsats

FastAPI with async for generating QR codes and bolt11 for Lightning Addresses
https://github.com/bitkarrot/sendsats

aiohttp asyncio bitcoin fastapi lightning lightning-network lnbits python3

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fbitkarrot%2Fsendsats)

**Live Demo:** https://sendsats.to

This is a work in progress

## TODO:

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