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
- Host: GitHub
- URL: https://github.com/bitkarrot/sendsats
- Owner: bitkarrot
- License: mit
- Created: 2021-11-07T22:31:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T15:48:18.000Z (about 1 year ago)
- Last Synced: 2024-04-19T12:24:43.616Z (about 1 year ago)
- Topics: aiohttp, asyncio, bitcoin, fastapi, lightning, lightning-network, lnbits, python3
- Language: Python
- Homepage: https://sendsats.to
- Size: 45.9 KB
- Stars: 22
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
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
[](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