also, i can see your are using svelte on nostr watch. can you help me on some small bugs?
im trying to get a list of notes from a relay and show them on a component using nostr-tools. but it doesn't work in any ways.
i can share the code as well.
also, i can see your are using svelte on nostr watch. can you help me on some small bugs?
im trying to get a list of notes from a relay and show them on a component using nostr-tools. but it doesn't work in any ways.
i can share the code as well.
Sure.
here is the code:
https://github.com/dezh-tech/mangostr/pull/12/files
in src/lib/components/latestnotes.svelte im trying to fetch some events. im not sure if this is the correct/recomeneded way. but it doesn't work...
Forget to commit that component?
no, it's here: https://github.com/dezh-tech/mangostr/blob/c17523b6b4a73913c6a49a623249022b623341e1/src/lib/components/LatestNotes.svelte
Ah, wrong branch
yes, i didn't merged it yet. nip-11 works well. after fetching events ill merge it.
Submitted PR.
thanks a lot. merged. which relay address you used for test? i tried some public relays, they are not work well. even their nip-11 is not complete.