nips icon indicating copy to clipboard operation
nips copied to clipboard

Opinion about support for multiple NIP-05 domains on one pubkey

Open peri123214 opened this issue 5 months ago • 4 comments

I want to propose an idea of adding support for multiple verified domains using the NIP-05 standard. Practically this could be achieved by changing the nip05 field of the profile object to a list of NIP-05 addresses instead of one address. Because of the nature of the suggestion, it is a potentially breaking change, so I would like any opinion on this proposal first if you think its a good idea and if its wanted by the community.

peri123214 avatar Jul 18 '25 21:07 peri123214

This is a breaking change, and would break some implementations which rely on users only having one NIP 05 (Ditto for one). A new address type could be created which does handle this, but it would likely result in a broken UX if users aren't sure which address type is being used in a given context.

staab avatar Jul 18 '25 21:07 staab

I want to propose an idea of adding support for multiple verified domains using the NIP-05 standard. Practically this could be achieved by changing the nip05 field of the profile object to a list of NIP-05 addresses instead of one address.

I like it. IMHO, it should have been this way from the start. But when NIP-05 was made, it was solving a narrow problem.

melvincarvalho avatar Jul 20 '25 15:07 melvincarvalho

Amethyst has switched to the model where you can just put the metadata on the tag array itself: https://github.com/nostr-protocol/nips/pull/1770

In that model, you can add as many Nip05 you want.

vitorpamplona avatar Jul 20 '25 16:07 vitorpamplona

This is something I have proposed before and I fully support it.

A person can belong to two organizations. Many people do. Each organization can provide a NIP-05 identity. Why would that person have to pick one?

There could still be one identity which is considered the primary one, if that is needed for some applications, but the other ones should work just as well. Ditto should really not require the presence of only one identity, however. On the contrary, the same user should be allow to join multiple Ditto instances.

@dtonon suggests a new field which would contain an array of identities other than the primary one: https://njump.me/nevent1qvzqqqqqqypzq77777lz9hvwt86xqrsyf2jn588ewk5aclf8mavr80rhmduy5kq9qqsz4duvzxaay70dt7lg4qg52jvrjxjt724z46uxuh6cw4atsk5z3sgzh5umc

Aspie96 avatar Oct 07 '25 23:10 Aspie96