mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-11 03:22:32 +02:00
add function to create lnaddress with nostdress manually
This commit is contained in:
11
tests/make_ln_address_lnbits.py
Normal file
11
tests/make_ln_address_lnbits.py
Normal 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)
|
Reference in New Issue
Block a user