lnbits-legend/lnbits/extensions/withdraw
2020-03-04 23:11:15 +01:00
..
templates/withdraw refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
__init__.py refactor: use Flask Blueprints to organize extensions 2020-01-31 21:07:05 +01:00
config.json refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +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-23 00:44:56 +00:00
views_api.py Update views_api.py 2020-02-24 19:12:49 +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"