Chris on Nostr: I was looking for a production ready implementation that I could easily integrate ...
I was looking for a production ready implementation that I could easily integrate into my "NIP05.social" backend (Node.js, TypeScript, Microsoft SQL server).
I also wanted NIP-42 support for authentication to only allow registered users onto the relay.
I was not really surprised to find none of the available relay implementations a good match and therefore decided to implement the relay myself.
I checked the relay implementation "Nostream" which is written in TypeScript to get some ideas. A really cool project.
https://github.com/Cameri/nostreamPublished at
2024-01-21 21:30:48Event JSON
{
"id": "d28c825b3145805b2cc22b3e555c0a806f11ac4005398faf071d74e1e57e38bc",
"pubkey": "090e4e48e07e331b7a9eb527532794969ab1086ddfa4d805fff88c6358e9d15d",
"created_at": 1705872648,
"kind": 1,
"tags": [
[
"e",
"fc24161f2cade0b46285475c273fb1a834c557cefe1f6a09b19f7ff3b5284564",
"",
"root"
],
[
"e",
"454a24024002ab94ec63b335a1e771ab524b168604f9e316013c64305fee1ddf",
"",
"reply"
],
[
"p",
"090e4e48e07e331b7a9eb527532794969ab1086ddfa4d805fff88c6358e9d15d"
],
[
"p",
"d7013b1352c233820d198ee02fbed992c45a4fb12b550b12248d1ecd8e60933c"
],
[
"r",
"https://github.com/Cameri/nostream"
]
],
"content": "I was looking for a production ready implementation that I could easily integrate into my \"NIP05.social\" backend (Node.js, TypeScript, Microsoft SQL server).\n\nI also wanted NIP-42 support for authentication to only allow registered users onto the relay.\n\nI was not really surprised to find none of the available relay implementations a good match and therefore decided to implement the relay myself.\n\nI checked the relay implementation \"Nostream\" which is written in TypeScript to get some ideas. A really cool project.\n\n https://github.com/Cameri/nostream",
"sig": "a5b8d0923626c59fd1d7e7e3b554976114f66baa1c19c74d12ef351ff7c68a7eab111d84f2b08c6dafe87d0814856df94afa5c708d6933a0a11bf7570cf3c59b"
}