mplorentz on Nostr: Published my first Nostr event from our little client last night. It also displays ...
Published my first Nostr event from our little https://nos.social client last night. It also displays the last 100 events from whatever relays you add. It's not much to look at, but the fact that I got to this point in ~7 hours and 684 lines of code gives you a good idea of how easy it is for developers to get started in this ecosystem. I didn't use any existing Nostr libraries, just a library for the secp256k1 cryptography and another library for websockets. I did reference the Damus code at key points which was super useful.
{
"id":"07ebc2133b5cfc99a00982282499eb02bf04a2450b3f19b89bd69dbc116899f4",
"pubkey":"d0a1ffb8761b974cec4a3be8cbcb2e96a7090dcf465ffeac839aa4ca20c9a59e",
"created_at":1675342161,
"kind":1,
"tags": [],
"content":"Published my first Nostr event from our little https://nos.social client last night. It also displays the last 100 events from whatever relays you add. It's not much to look at, but the fact that I got to this point in ~7 hours and 684 lines of code gives you a good idea of how easy it is for developers to get started in this ecosystem. I didn't use any existing Nostr libraries, just a library for the secp256k1 cryptography and another library for websockets. I did reference the Damus code at key points which was super useful. https://nostr.build/av/nostr.build_b015964152b20a9e5ae2d3bbd8520c3703c64d5817906dcb55d5eb12e249a0b0.mp4",
"sig":"c3e76b818c048e8b33dbcc192959fcaf5472c8d471875ef7a7a070eca2697fcb2c2122c450afdd73a832bca3c50eda163b5e3501b4515900404f1c56f1a7d1ba"
}