mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-10 23:32:28 +02:00
private requests, feedback, results, zaps
This commit is contained in:
1
main.py
1
main.py
@@ -18,6 +18,7 @@ def run_nostr_dvm_with_local_config():
|
||||
# Note this is very basic for now and still under development
|
||||
bot_config = DVMConfig()
|
||||
bot_config.PRIVATE_KEY = os.getenv("BOT_PRIVATE_KEY")
|
||||
bot_config.PUBLIC_KEY = Keys.from_sk_str(bot_config.PRIVATE_KEY).public_key().to_hex()
|
||||
bot_config.LNBITS_INVOICE_KEY = os.getenv("LNBITS_INVOICE_KEY")
|
||||
bot_config.LNBITS_ADMIN_KEY = os.getenv("LNBITS_ADMIN_KEY") # The bot will forward zaps for us, use responsibly
|
||||
bot_config.LNBITS_URL = os.getenv("LNBITS_HOST")
|
||||
|
Reference in New Issue
Block a user