lnbits-legend/lnbits/extensions/example
2020-02-19 23:21:44 +00:00
..
templates/example Create index.html 2020-02-19 23:12:33 +00:00
__init__.py Create __init__.py 2020-02-19 22:58:58 +00:00
example.config.json Create example.config.json 2020-02-19 22:57:04 +00:00
README.md Create README.md 2020-02-19 22:54:46 +00:00
schema.sql Update schema.sql 2020-02-19 23:21:44 +00:00
views.py Update views.py 2020-02-19 23:16:06 +00:00
views_api.py Create views_api.py 2020-02-19 23:21:01 +00: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 "Grpc-Metadata-macaroon: YOUR_WALLET-ADMIN/INVOICE-KEY"