lnbits / lnurlp

MIT License
9 stars 8 forks source link

Enable the binding of LN Addresses to one of a selection of registered subdomains #5

Open dadofsambonzuki opened 1 year ago

dadofsambonzuki commented 1 year ago

We (BTC Map) are wanting to rollout PoS, NIP-05, LNURLp globally using country-specific subdomains.

e.g.

uk.btcmap.org de.btcmap.org

We can handle this with the current NIP-05 extension, but not with the LNURLp extension when it comes to LN Addresses.

Is it feasable to register multiple sub-domains within the core LNBits instance so that extensions like LNURLp can offer sub-domain specific features?

We'd like LN Address usernames to be unique within a sub-domain, not across the entire LNBits instance.

e.g.

merchant1.uk.btcmap.org != merchant1.de.btcmap.org

dadofsambonzuki commented 1 year ago

On pondering further, I guess the LNURL has the URL encoded into it and so we can do this now using domain aliases.

Is there a way to this this without aliases, using forwarding like the NIP-05 extension?

@callebtc