PABLOF7z on Nostr: Love this! So cool to see ndk in there! 🙌 Did you see the ndk-svelte package I ...
Love this! So cool to see
ndk (npub1ndk…qfy4) in there! 🙌
Did you see the ndk-svelte package I released yesterday? It provides access to nostr subscriptions as Svelte stores
const items = $ndk.storeSubscribe(<filter>);
...
{$items.length} items received
You might also want to see the NDKArticle which is similar to the interface you are creating in this blog post 😉
Published at
2023-08-11 22:57:24Event JSON
{
"id": "1ec5421546dbf2466b123d663d087b942ae78437751d105e55e3844eed2960d8",
"pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"created_at": 1691794644,
"kind": 1,
"tags": [
[
"e",
"34550:7e9c924ae5255c95a454d28ae89552a1e081f828ad4dc0381508b509188c865e:Svelte",
"",
"root"
],
[
"e",
"d4b3f15f672fb882b023c6620cc4dcaca9f3ea7ffa054c61856d899566868f58",
"wss://nos.lol/",
"reply"
],
[
"p",
"7e9c924ae5255c95a454d28ae89552a1e081f828ad4dc0381508b509188c865e"
],
[
"p",
"9b6cf9b80e97644b2e899fc92bb7e18c5a94f078d9a8c48557fc82a27b2ed293"
]
],
"content": "Love this! So cool to see nostr:npub1ndk0nwqwjajykt5fnlyjhdlp33dffurcmx5vfp2hljp2y7ew62fsq7qfy4 in there! 🙌\n\nDid you see the ndk-svelte package I released yesterday? It provides access to nostr subscriptions as Svelte stores\n\nconst items = $ndk.storeSubscribe(\u003cfilter\u003e);\n\n...\n\n{$items.length} items received\n\nYou might also want to see the NDKArticle which is similar to the interface you are creating in this blog post 😉",
"sig": "c14476aad193b5f2a77665135ae44633409832ee0e8728f5bbc21aca6638cf1be06f664ce88d5a656838d6aaf5df99588208008bb6aaf1e5fe2e07080ed2ae09"
}