lnbits-legend/lnbits/extensions/amilk
fiatjaf 9185342c72 simplify environment variables required.
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.

this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.

in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
2020-10-08 16:03:21 -03:00
..
templates/amilk update prettier to 2.1.1 2020-09-14 09:14:51 -03:00
__init__.py migrate from flask to quart. 2020-09-14 16:03:25 -03:00
config.json chore: various tweaks 2020-04-16 20:58:16 +02:00
crud.py run black on everything. 2020-08-30 23:19:43 -03:00
migrations.py migration tracking. 2020-09-04 21:33:30 -03:00
models.py Update models.py 2020-04-18 01:36:50 +01:00
README.md chore: remove pending macaroon mentions 2020-04-21 23:22:01 +02:00
views.py migrate from flask to quart. 2020-09-14 16:03:25 -03:00
views_api.py simplify environment variables required. 2020-10-08 16:03:21 -03:00

Example Extension

*tagline*

This is an example extension to help you organise and build you own.

Try to include an image

If your extension has API endpoints, include useful ones here

curl -H "Content-type: application/json" -X POST https://YOUR-LNBITS/YOUR-EXTENSION/api/v1/EXAMPLE -d '{"amount":"100","memo":"example"}' -H "X-Api-Key: YOUR_WALLET-ADMIN/INVOICE-KEY"