Files
lnbits/lnbits/extensions/withdraw
fiatjaf d3fc52cd49 migrate to sqlalchemy-aio.
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.
2020-11-21 23:02:14 -03:00
..
2020-11-18 22:26:30 -03:00
2020-11-21 23:02:14 -03:00
2020-04-18 01:39:10 +01:00
2020-11-21 23:02:14 -03:00
2020-11-21 23:02:14 -03:00
2020-11-21 23:02:14 -03:00
2020-11-21 23:02:14 -03:00
2020-11-21 23:02:14 -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"