add function to create lnaddress with nostdress manually

This commit is contained in:
dbth
2025-01-03 16:38:07 +01:00
parent 9626c08201
commit 7c8931c40b
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from nostr_dvm.utils.zap_utils import make_ln_address_nostdress_manual_lnbits
name = ""
invoice_key = ""
npub = ""
nostdress_domain = ""
lnbits_domain = "https://demo.lnbits.com"
lnaddress, pin = make_ln_address_nostdress_manual_lnbits("_", invoice_key, npub, nostdress_domain, lnbits_domain, pin = " ", currentname= " ")
print(lnaddress)
print(pin)