Python Script to generate as much Bitcoin Lightning Vouchers you want.
Report Bug
·
Request Feature
Table of Contents
LNbits a free and open-source lightning wallet that offers a lot of extension. LNbits can run on any lightning-network funding source, currently supporting LND, c-lightning, OpenNode, lntxbot, LNPay and even LNbits itself!
You can run LNbits for yourself, or easily take the service from LNBits.
Each wallet has its own API keys and there is no limit to the number of wallets you can make.
Extensions add extra functionality to LNbits so it is possible to experiment with a range of cutting-edge technologies on the lightning network. One of the extension ist LNURL-withdraw.
You can generate LNURL-withdraw links wich are also available in form of QR-Codes. With this QR-Codes every wallet that supports LNURL-withdraw can remain the amount which is defined.
Generating vouchers in large quantities by the GUI is painful. Therefore you can use this script.
- Clone the repo
git clone https://github.com/f418me/LNbitsVoucherGenerator.git
- Install Pyhton Packages:
pip install -r requirements.txt
Setup an LNBits Wallet and activate the LNURL-withdraw extension. Do the configuration in the config.ini file. Maybe you also like to change the desing of the voucher. Just define an other background image.
python main.py
- Add Changelog
- Add Logging
- Add Docker Compose
- Add possibility to use CSV-Files as Input to generate the vouchers
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
LNBitsVoucherGenerator is released under the terms of the MIT license. See https://opensource.org/licenses/MIT for further information.
f418.me - f418_me - [email protected]
Project Link: https://github.com/f418me/LNBitsVoucherGenerator