lnbits-legend/lnbits/extensions/withdraw
2020-02-19 22:20:58 +00:00
..
templates/withdraw Update index.html 2020-02-19 14:26:04 +00:00
__init__.py refactor: use Flask Blueprints to organize extensions 2020-01-31 21:07:05 +01:00
config.json feat: automatically import extension blueprints 2020-02-19 20:52:34 +01:00
README.md Update README.md 2020-02-19 22:20:58 +00:00
schema.sql refactor: remove databases from code an use schemas instead 2020-02-10 19:40:01 +01:00
views.py Update views.py 2020-02-12 13:42:25 +00:00
views_api.py Added endpoint for easy LNURL fetching 2020-02-19 22:17:19 +00:00

LNURLw

LNURL withdraw is a very powerful tool and should not have his use limited to just faucet applications. With LNURL withdraw, you have the ability to give someone the right to spend a range, once or multiple times. This functionality has not existed in money before. https://github.com/btcontract/lnurl-rfc/blob/master/spec.md#3-lnurl-withdraw

With this extension to can create/edit LNURL withdraws, set a min/max amount, set time (useful for subscription services)

lnurl

API endpoint - /withdraw/api/v1/lnurlmaker

Easily fetch one-off LNURLw

curl -H "Content-type: application/json" -X POST https://YOUR-LNBITS/withdraw/api/v1/lnurlmaker -d '{"amount":"100","memo":"ATM"}' -H "Grpc-Metadata-macaroon: YOUR-WALLET-ADMIN-KEY"