So, yeah, I can already pull in kind 0 events, but for kind 1 events that I'm just pulling in randomly off of relays, how do I find the kind 0 event associated with the poster of that kind 1 event I have. Wow, that sentence was horrible. I'm not sure how to put it any other way. Maybe this explains why I'm having trouble. The pubkey that I'm getting from these kind 1 events doesn't look like an npub. Is one of them just in hex and I need to convert it?
Yes, its likely just a hex encodiny of the npub.
A key in npub/nsec is for human-readability. In most nostr libraries we convert to hex.
reply
So you have to request the kind 0 for EVERY account you want that info for. 🫤
reply
Can i see your code?
Also, have you asked chatGPT at all?
reply
Here's a deployment too. Right now, as you can see from the code, I've just called up my own user info once on the right. My goal is to have it match the note to the left. I just want to make a feed of content that's all longer notes of subjects excluding nostr and bitcoin. After that, I want to make a uniform zap option of like 3000 or something really large like that. The goal is to incentivize people to start using nostr to write more thought-out notes. I image that creating more normie adoption and ultimately more normie interest in freedom-tech.
As you can see though, I'm still pretty basic on the coding front...
reply
Yeah, actually it's kind of a mess right now BECAUSE of some suggestions I had taken from chatGPT. I'm currently just trying to parse out kind 0 events independently, just to see if I can even do it in a displayable way. My goal is obviously to draw those from the kind 1 events though. Thanks for helping! I'll let you know if I figure it out on my own, but I'd of course appreciate any other suggestions for untangling all of this.
reply