Quokka (he/they) on Nostr: I'm a Keyoxide contributor and am adding Nostr support, and I need your help in doing ...
I'm a Keyoxide contributor and am adding Nostr support, and I need your help in doing so.
How the hell do I get the contents of a type 1 Nostr event in JS given its ID and relay(s)? I've only gotten to `await ndk.connect()` 🥲.
Also looking into NIP-39 or adding the proof to the profile (type 0 event).
I'm new here so please excuse me 🙏.
#asknostr #devstr
Published at
2025-05-24 22:06:40Event JSON
{
"id": "34ae0d7dc735a721819804dc5b6974f97a90731acb6b366cd6a6c14ec52ae136",
"pubkey": "419de831d630eb350f17cc4ee280dcee51f530c53ca14b4c1ac047831e6db927",
"created_at": 1748124400,
"kind": 1,
"tags": [
[
"t",
"asknostr"
],
[
"t",
"devstr"
],
[
"r",
"ndk.connect"
]
],
"content": "I'm a Keyoxide contributor and am adding Nostr support, and I need your help in doing so. \n\nHow the hell do I get the contents of a type 1 Nostr event in JS given its ID and relay(s)? I've only gotten to `await ndk.connect()` 🥲.\n\nAlso looking into NIP-39 or adding the proof to the profile (type 0 event).\n\nI'm new here so please excuse me 🙏.\n\n#asknostr #devstr",
"sig": "cec144e4c75cb058a0f3801e583ae8966b8427c6a23ea987c70812c4299ebab00cd340b4a139dd27fcf011174ca1c2271ac9a2130583c1c4f50b9f050e5fb974"
}