sandwich on Nostr: Only issue I've always been hung on with relay pubkeys is that the relay has to ...
Only issue I've always been hung on with relay pubkeys is that the relay has to somewhat consistently provide proofs for its pubkey which adds additional overhead (on top of everything else) for both the relay and the client. Additionally, this requires that the relay have a hot-signer, which adds new requirements for relays in both implementation and security vectors.
That said, when relays have pubkeys that can be discovered in some way, I would add them to `30166` events with `p` tags shortly after. This would be in addition to the `p` tag that is already added when any relay has valid pubkey set in their NIP-11.
Published at
2024-09-11 19:40:25Event JSON
{
"id": "9ca9cae67a323a15d9445012bbfc8c459d391fc1106641e71c822e7ee15ce93f",
"pubkey": "e771af0b05c8e95fcdf6feb3500544d2fb1ccd384788e9f490bb3ee28e8ed66f",
"created_at": 1726083625,
"kind": 1,
"tags": [
[
"e",
"1769e1a08213231aa0870b7f0b44cc5e6bbb8c1123410e9efae9007ae24d9b2f",
"",
"root"
],
[
"e",
"3e4fc4d8c34a6ca924acb2c8d550383596addbcf079d370ec438254199f1e467",
"",
"reply",
"d91191e30e00444b942c0e82cad470b32af171764c2275bee0bd99377efd4075"
],
[
"p",
"76c71aae3a491f1d9eec47cba17e229cda4113a0bbb6e6ae1776d7643e29cafa"
]
],
"content": "Only issue I've always been hung on with relay pubkeys is that the relay has to somewhat consistently provide proofs for its pubkey which adds additional overhead (on top of everything else) for both the relay and the client. Additionally, this requires that the relay have a hot-signer, which adds new requirements for relays in both implementation and security vectors. \n\nThat said, when relays have pubkeys that can be discovered in some way, I would add them to `30166` events with `p` tags shortly after. This would be in addition to the `p` tag that is already added when any relay has valid pubkey set in their NIP-11. ",
"sig": "d750954cc36ebb2e425506fb998b8e066a97d5f2c8f10ed86edfdaf32d0a1dd52b39f6ba4c1680a6bb4bd3c71e8f7031e741e40a6a946a57b772433c17cb98fe"
}