lnbits-legend/lnbits/extensions/withdraw
2020-04-19 23:36:57 +02:00
..
static/js Update index.js 2020-04-19 20:56:54 +01:00
templates/withdraw chore: update currencies list from OpenNode 2020-04-19 23:36:57 +02:00
__init__.py refactor: use Flask Blueprints to organize extensions 2020-01-31 21:07:05 +01:00
config.json Update config.json 2020-04-18 01:39:10 +01:00
crud.py refactor(withdraw): migrate extension to Vue 2020-04-16 20:58:16 +02:00
migrations.py refactor(withdraw): migrate extension to Vue 2020-04-16 20:58:16 +02:00
models.py feat(core): add search to payments table 2020-04-17 21:13:32 +02:00
README.md Update README.md 2020-02-19 22:20:58 +00:00
views.py refactor(withdraw): migrate extension to Vue 2020-04-16 20:58:16 +02:00
views_api.py chore: rename api-key-macaroon 2020-04-16 20:58:16 +02: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"