Skip to content

This dead simple script allows you to generate a BOLT11 invoice from an Lightning Address. It asks for a Lightning Address and desired amount, and returns a BOLT11 invoice

License

Notifications You must be signed in to change notification settings

vv01f/lightning-address-invoice-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightning Address to BOLT11 Invoice Generator

This simple GUI zap.py and CLI script lnaddress2invoice.py allow you to generate BOLT11 invoices from Lightning Addresses. It asks for the Lightning Address and desired amount and returns a BOLT11 invoice.

Hecho con ❤️ y ⚡ en Puerto Rico 🏝️

The script originally was almost completely lifted from https://sendsats.to/. It's a cool site for using your Lightning Address.

Usage

You can run the script using Python 3. Make sure you have Python 3 installed on your system. For convenience there was added a shell.nix and a myproject.toml to manage dependencies.

GUI Usage

To run the GUI, execute zap.py on your graphical environment or via CLI with $ ./zap.py

Script Usage

To run the CLI script:

$ ./lnaddress2invoice.py

Optionally you can use the command line arguments as shown by $ ./lnaddress2invoice.py --help

License

This project is free and open source software designed to be stolen. Please steal this code and make something better, original or fun.

This project is licensed under the terms of the MIT license. For more details, please see the LICENSE file.

About

This dead simple script allows you to generate a BOLT11 invoice from an Lightning Address. It asks for a Lightning Address and desired amount, and returns a BOLT11 invoice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Other 0.7%