lnbits-legend/lnbits/extensions/watchonly/__init__.py
2021-10-18 10:58:09 +01:00

18 lines
383 B
Python

from fastapi import APIRouter
from lnbits.db import Database
from lnbits.helpers import template_renderer
db = Database("ext_watchonly")
watchonly_ext: APIRouter = APIRouter(prefix="/watchonly", tags=["watchonly"])
def watchonly_renderer():
return template_renderer(["lnbits/extensions/watchonly/templates"])
from .views import * # noqa
from .views_api import * # noqa