mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 18:51:05 +01:00
d3fc52cd49
a big refactor that: - fixes some issues that might have happened (or not) with asynchronous reactions to payments; - paves the way to https://github.com/lnbits/lnbits/issues/121; - uses more async/await notation which just looks nice; and - makes it simple(r?) for one extension to modify stuff from other extensions. |
||
---|---|---|
.. | ||
templates/amilk | ||
__init__.py | ||
config.json | ||
crud.py | ||
migrations.py | ||
models.py | ||
README.md | ||
views_api.py | ||
views.py |
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"