lemon on Nostr: While I have you guys: I started building out the gif keyboard Is there a function ...
While I have you guys:
I started building out the gif keyboard
Is there a function that’s already built out for querying a specific relay?
queryRelay(relay, kind, author, tags…) -> JSON events
I’ve been using Yuki’s Nostr-SDK for my projects, but I didn’t want to add more package dependencies to Damus
Any guidance you guys have would be helpful, thanks!
Published at
2025-02-07 01:58:28Event JSON
{
"id": "4c7f192fdb3dac807f99a7ba0764493cb17d4c59ee8d44cf152ed1ac86c11d36",
"pubkey": "be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"created_at": 1738893508,
"kind": 1,
"tags": [
[
"e",
"0ffa2ba092a313a105942927af3b6a4fac1d5d8e394d0395a58eea02fbf55f04",
"",
"root"
],
[
"e",
"8d4632a58c5236b2659b416ad6b764d4ab67f6d791a0b9979006d9306bddf54a",
"",
"reply"
],
[
"p",
"8b2be0a0ad34805d76679272c28a77dbede9adcbfdca48c681ec8b624a1208a6"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "While I have you guys:\nI started building out the gif keyboard\n\nIs there a function that’s already built out for querying a specific relay?\n\nqueryRelay(relay, kind, author, tags…) -\u003e JSON events\n\nI’ve been using Yuki’s Nostr-SDK for my projects, but I didn’t want to add more package dependencies to Damus \n\nAny guidance you guys have would be helpful, thanks!",
"sig": "ddcb505f0259d15bc17dbd8943c29a00cf63952a009bb077d47a190c737c03b9f4d3a7c56d11704372249f06963ac5441f961041fb122d3ededdfd15d29e393c"
}