lnbits-legend/lnbits/extensions/example
fiatjaf f01028eac7 migrate from flask to quart.
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00
..
templates/example apply prettier to everything. 2020-05-03 13:55:17 -03:00
__init__.py migrate from flask to quart. 2020-09-14 16:03:25 -03:00
config.json Update and rename config.json.example to config.json 2020-04-16 23:03:12 +01:00
migrations.py migration tracking. 2020-09-04 21:33:30 -03:00
README.md chore: remove pending macaroon mentions 2020-04-21 23:22:01 +02:00
views_api.py migrate from flask to quart. 2020-09-14 16:03:25 -03:00
views.py migrate from flask to quart. 2020-09-14 16:03:25 -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"