liminal on Nostr: made a draft to extend nip56, would appreciate feedback or imrovements. The logic is ...
made a draft to extend nip56, would appreciate feedback or imrovements.
The logic is that clients can start off users with a whitelist of auto preview domains, but that kind of data can also exist on relays for other users/clients to make decisions from.
```
{
"kind": 10099,
"content": "",
"tags": [
["d", "domain_lists"], // identifier
["white", "nostr.build"],
["white", "void.cat"],
["black", "malicious-site.net"],
["black", "scam-domain.com"]
["unknown", "ask"] // Options: "load" | "block" | "ask"
]
}
```
https://github.com/limina1/nips/blob/extend56/56.mdPublished at
2025-02-12 16:56:03Event JSON
{
"id": "e43db46acca0db25dff417a10a9d229d40a667b142bc98686f5c1c7634baa425",
"pubkey": "dc4cd086cd7ce5b1832adf4fdd1211289880d2c7e295bcb0e684c01acee77c06",
"created_at": 1739379363,
"kind": 1,
"tags": [
[
"e",
"8203b64830baaa75b2f00cf85ccfbe2a5827d44dfd347b2f2fcc6ee49447676d",
"",
"root"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"r",
"https://github.com/limina1/nips/blob/extend56/56.md"
]
],
"content": "made a draft to extend nip56, would appreciate feedback or imrovements.\n\nThe logic is that clients can start off users with a whitelist of auto preview domains, but that kind of data can also exist on relays for other users/clients to make decisions from.\n\n```\n{\n \"kind\": 10099,\n \"content\": \"\",\n \"tags\": [\n [\"d\", \"domain_lists\"], // identifier \n [\"white\", \"nostr.build\"],\n [\"white\", \"void.cat\"],\n [\"black\", \"malicious-site.net\"],\n [\"black\", \"scam-domain.com\"]\n [\"unknown\", \"ask\"] // Options: \"load\" | \"block\" | \"ask\"\n ]\n}\n```\nhttps://github.com/limina1/nips/blob/extend56/56.md",
"sig": "7b0b6a94903feabac68486f141107b24f2f3e5085cec3074edf408a110ba32366c0045b647cd26611c29944f31efdae4a04f80da874dc929617ee9b1e07f2a50"
}