Pedro Vicente on Nostr: Yes, that was kind of what my point was “if it ain't broke, don't fix it”. As ...
Yes, that was kind of what my point was “if it ain't broke, don't fix it”. As #nostr devs, we shouldn’t have to deal with the underlying transport, we just use libraries that abstract that from us. I believe most languages have a WebSockets library. In my case, when I started with Nostr, it took me a week to find a good C++ library that I was happy with, but now I just use it and don’t care what happens under the hood. And because there was no Nostr C++ API, I made one. Check it out
https://pedro-vicente.net/nostr/nostr.htmlPublished at
2023-07-25 10:59:50Event JSON
{
"id": "578838aaebe15bf6c8182c6997b10e001b48f81bbcf5c8811c61d765e11821b7",
"pubkey": "4ea843d54a8fdab39aa45f61f19f3ff79cc19385370f6a272dda81fade0a052b",
"created_at": 1690282790,
"kind": 1,
"tags": [
[
"e",
"50673900ed3dba8cce7e9e04afa0ecac646b23dfa059553cbfd6f0491d68c22d",
"wss://nos.lol/"
],
[
"e",
"66a1bddfddd0b105a55b2e3b11d223a1a5bae7dddcfc242475cee382d738639f"
],
[
"p",
"c5fb6ecc876e0458e3eca9918e370cbcd376901c58460512fe537a46e58c38bb"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"t",
"nostr"
]
],
"content": "Yes, that was kind of what my point was “if it ain't broke, don't fix it”. As #nostr devs, we shouldn’t have to deal with the underlying transport, we just use libraries that abstract that from us. I believe most languages have a WebSockets library. In my case, when I started with Nostr, it took me a week to find a good C++ library that I was happy with, but now I just use it and don’t care what happens under the hood. And because there was no Nostr C++ API, I made one. Check it out https://pedro-vicente.net/nostr/nostr.html",
"sig": "0f1cc8b2356a7f1c9fb81a41696e51ef74b0cbb091a281817de0fc66dc03a16fa61836ebba230a734d2cc83caa14c9a3ec1b4d258c42c9e755b100d57421c577"
}