This commit is contained in:
Believethehype 2024-09-18 13:49:56 +02:00
parent ed8c44977c
commit 820af55549
3 changed files with 2 additions and 7 deletions

View File

@ -27,7 +27,7 @@
"source": [
"lnbits_admin_key = \"\" #TODO set your key here\n",
"lnbits_wallet_id = \"\" #TODO set your key here\n",
"lnbits_host= \"https://demo.lnbits.com\" #TODO use demo.lnbits.com, but rather use your own instance\n",
"lnbits_host= \"https://demo.lnbits.com\" #TODO you can use demo.lnbits.com, but rather use your own instance\n",
"nostdress_domain = \"nostrdvm.com\" #TODO use your own nostdress instance, or use the default one"
],
"id": "2e71e7aa2ebdac50"

View File

@ -126,5 +126,5 @@ if __name__ == '__main__':
raise FileNotFoundError(f'.env file not found at {env_path} ')
# Replace this key with the one from your DVM from part 3.
target_dvm_npub = "9937b858d8482610d67957778a62e2617260952c192579a7c7859bf18f86baf1"
target_dvm_npub = "aaf3b2bda1f19651417af4b1ccc35ebb6675d718843fdc444bdca4da1c8cd2fc"
asyncio.run(nostr_client(target_dvm_npub))

View File

@ -1,5 +0,0 @@
import random, string
def randomword(length):
letters = string.ascii_lowercase
return ''.join(random.choice(letters) for i in range(length))