StevenB on Nostr: Ok, so it seems like there should be a way for me to host something like a database ...
Ok, so it seems like there should be a way for me to host something like a database or API, and instead of having auth keys, I have authorized npubs. Maybe you have to create and sign an event proving you are the npub, and if so, and you’re in the approved list, you’re able to fetch the data.
Published at
2025-01-06 23:17:27Event JSON
{
"id": "7aded52948b60428d987640f0393740d31423c4c38cee5478eefef36702e2ef0",
"pubkey": "23103189356cf7c8bc09bb8b431fc3e71e85582c8f755b9ee160203c9c19e403",
"created_at": 1736205447,
"kind": 1,
"tags": [
[
"e",
"3d4bff327a554c0cad9797fe9a863d63263333244c568e402b579df4411ea106",
"wss://nostr.wine/",
"root"
],
[
"e",
"4a85f17e63a4730e754c9a8ed7e3121b2c179f5fb3cc6988d3c91a23b8a2688d",
"",
"reply"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
]
],
"content": "Ok, so it seems like there should be a way for me to host something like a database or API, and instead of having auth keys, I have authorized npubs. Maybe you have to create and sign an event proving you are the npub, and if so, and you’re in the approved list, you’re able to fetch the data.",
"sig": "1fb33c81b9c12a2ddcc0a3106aa55b6cfa337f477456a8bc9d857c712bdfb4fd447a1825ae1e0af3f21a4d3c59e255a21d23abc7e55a2cc1fbe690e7740ef2d1"
}