Replying to Avatar Jingles

Hey nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc

I know we have ndk.getUser to get one users.

What is the quickest way to get a list of users, type NDKUser, with profile and follows populated.

Beep boop nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc

Reply to this note

Please Login to reply.

Discussion

Thanks for the bump.

There's not really a good way to do this right now with NDK. I think your best bet is probably to do some sort of fanout (ideally with multiple processes).

Mostly I've gotten around this in the past by doing it the slow way but storing users in an in-browser cache (using something like Dexie) so they're fast after that.