add adminconfig per dvm

This commit is contained in:
Believethehype
2023-11-21 11:11:12 +01:00
parent 50f4076416
commit 27aa132ec9
9 changed files with 83 additions and 48 deletions

View File

@@ -1,6 +1,7 @@
import os
from utils import env
from utils.nip89_utils import NIP89Announcement
class DVMConfig:
@@ -13,10 +14,11 @@ class DVMConfig:
RELAY_TIMEOUT = 5
LNBITS_INVOICE_KEY = ''
LNBITS_URL = 'https://lnbits.com'
REQUIRES_NIP05: bool = False
DB: str
NIP89: NIP89Announcement
REQUIRES_NIP05: bool = False
SHOWRESULTBEFOREPAYMENT: bool = True # if this is true show results even when not paid right after autoprocess
NIP89s: list = []