mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 06:41:38 +01:00
basic bot is working, spawn dvms dependent on config
This commit is contained in:
@@ -6,6 +6,7 @@ from utils.nip89_utils import NIP89Announcement
|
||||
class DVMConfig:
|
||||
SUPPORTED_DVMS= []
|
||||
PRIVATE_KEY: str = os.getenv("NOSTR_PRIVATE_KEY")
|
||||
COST: int = None
|
||||
|
||||
RELAY_LIST = ["wss://relay.damus.io", "wss://nostr-pub.wellorder.net", "wss://nos.lol", "wss://nostr.wine",
|
||||
"wss://relay.nostfiles.dev", "wss://nostr.mom", "wss://nostr.oxtr.dev", "wss://relay.nostr.bg",
|
||||
@@ -15,11 +16,11 @@ class DVMConfig:
|
||||
LNBITS_INVOICE_KEY = ''
|
||||
LNBITS_URL = 'https://lnbits.com'
|
||||
DB: str
|
||||
NEW_USER_BALANCE: int = 250 # Free credits for new users
|
||||
NIP89: NIP89Announcement
|
||||
DM_ALLOWED = []
|
||||
|
||||
REQUIRES_NIP05: bool = False
|
||||
SHOW_RESULT_BEFORE_PAYMENT: bool = True # if this is true show results even when not paid right after autoprocess
|
||||
SHOW_RESULT_BEFORE_PAYMENT: bool = False # if this is true show results even when not paid right after autoprocess
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user