2020-09-13 21:31:05 -03:00
|
|
|
from quart import Blueprint
|
2020-11-21 18:04:39 -03:00
|
|
|
from lnbits.db import Database
|
2020-08-28 23:03:12 -03:00
|
|
|
|
2020-11-21 18:04:39 -03:00
|
|
|
db = Database("ext_lnurlp")
|
2020-08-28 23:03:12 -03:00
|
|
|
|
|
|
|
lnurlp_ext: Blueprint = Blueprint("lnurlp", __name__, static_folder="static", template_folder="templates")
|
|
|
|
|
|
|
|
|
|
|
|
from .views_api import * # noqa
|
|
|
|
from .views import * # noqa
|
2020-09-28 00:54:15 -03:00
|
|
|
from .lnurl import * # noqa
|
2020-10-06 01:50:55 -03:00
|
|
|
from .tasks import register_listeners
|
2020-09-27 23:12:55 -03:00
|
|
|
|
2020-10-06 01:50:55 -03:00
|
|
|
from lnbits.tasks import record_async
|
2020-09-27 23:12:55 -03:00
|
|
|
|
2020-10-06 01:50:55 -03:00
|
|
|
lnurlp_ext.record(record_async(register_listeners))
|