Join Nostr
2025-06-09 19:40:42 GMT

negr0 on Nostr: What do some developers think? Vitor Pamplona jb55 franzap miljan Karnage fiatjaf I ...

What do some developers think?

I asked chatgpt
The NOSTR protocol only allows one address, and I've noticed that sometimes some fail, and you have to keep changing addresses. My question is, is it possible to build or develop the option to have two lightning addresses in your profile so that when your primary wallet is zapped, it doesn't work; those zaps go to your secondary address.

I answer this:
What you're proposing makes a lot of sense from a redundancy and reliability perspective for receiving zaps. However, the NIP-05 protocol and the lud16 (Lightning address) field in Nostr's kind:0 are currently

OPTION 1: Lightning Address Proxy or "Redirector"

Create an intermediate service that acts as your official Lightning Address (e.g., [email protected]) and receives the zaps, checking the status of your wallet(s):

If your primary wallet (e.g., Alby) is online, resend the invoice to it.

If that fails, generate the invoice in a secondary wallet (e.g., LNbits, Phoenix, WoS, etc.).

If you want, you can even rotate between multiple wallets at the same time.

This can be done as a small backend in Node.js, Python, or similar, acting as a compatible LNURLp server (as LNPay or LNbits do). It wouldn't be difficult to set up with the right libraries.

OPTION 2: Custom Nostr Client

Modify a client (e.g., a fork of Amethyst, Iris, Coracle, etc.) so that:

It allows you to define two lud16s, for example, in an extended metadata type:
{
"name": "negr0",
"lud16": "[email protected]",
"lud16_backup": "[email protected]"
}
And the same client when zapping:

Try the primary client.

If it fails (timeout, or LNURLp server ERROR), try the secondary client.

This would require an informal proposal for a protocol extension and would be slower to adopt, but if you build your own client (or a plugin/patch to an existing one), it's viable.

OPCIÓN 3: Wallet multiproxy desde LNbits

LNbits te permite hacer extensiones. Podés hacer que tu dirección [email protected] se encargue de gestionar redirección y fallback a otras wallets. Ideal para experimentar rápido.