lnbits-legend/lnbits/extensions/withdraw
2020-09-04 21:33:30 -03:00
..
static/js bring back code mysteriously deleted in 79d5befe0c 2020-08-31 00:09:34 -03:00
templates/withdraw chore: update js vendors 2020-09-02 14:39:20 +02:00
__init__.py fix: mypy errors 2020-04-26 16:58:29 +02:00
config.json Update config.json 2020-04-18 01:39:10 +01:00
crud.py run black on everything. 2020-08-30 23:19:43 -03:00
migrations.py migration tracking. 2020-09-04 21:33:30 -03:00
models.py use {"tag": ext} for extension-related payments. 2020-09-02 12:44:54 -03:00
README.md chore: remove pending macaroon mentions 2020-04-21 23:22:01 +02:00
views.py Fixed lnurlw bugs 2020-08-19 08:49:52 +01:00
views_api.py use {"tag": ext} for extension-related payments. 2020-09-02 12:44:54 -03: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 "X-Api-Key: YOUR-WALLET-ADMIN-KEY"