dylan on Nostr: 1. How do I get the simplest version of a nostr app working? 2. I get what relays do, ...
1. How do I get the simplest version of a nostr app working?
2. I get what relays do, how do I connect to one?
3. I see that most nostr events are this thing called "kind 1" events. How do I pull in a list of kind 1 events?
This is what I did, and it helped a lot. Once I had done 1, 2, and 3 it was a big unlock in my brain to understand where to go from there.
Published at
2025-01-22 18:43:54Event JSON
{
"id": "23cf9e49570a9fc41b75d9ce1c2329359ad25d3ee1c8a03780c73e9884edc7b9",
"pubkey": "963a2dca29e2ed5663a627b5289ed36d445531a3f5ef127716227d8a1aaa5166",
"created_at": 1737571434,
"kind": 1,
"tags": [
[
"e",
"784b65416f8d568d21f47e5d5976b9621d6cd20168f0b2265ef9c75df6e8ba08",
"wss://nos.lol/",
"root",
"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4"
],
[
"e",
"784b65416f8d568d21f47e5d5976b9621d6cd20168f0b2265ef9c75df6e8ba08",
"wss://nos.lol/",
"reply",
"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4"
],
[
"p",
"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "1. How do I get the simplest version of a nostr app working?\n2. I get what relays do, how do I connect to one?\n3. I see that most nostr events are this thing called \"kind 1\" events. How do I pull in a list of kind 1 events?\n\nThis is what I did, and it helped a lot. Once I had done 1, 2, and 3 it was a big unlock in my brain to understand where to go from there.",
"sig": "d8411969c53767dc42cf1541195691f1e2742348790823d23a98901fd2ae8678acec7d0949a2086b3bb06b03c77ccb5458344d5405306cf49b80d636308e47bf"
}