-

@ 𝐒𝐧@𝐱
2025-05-16 16:39:24
nostr:nprofile1qyghwumn8ghj7mn0wd68ytnhd9hx2tcpt3mhxue69uhhqun00pujumn0wd68yttjv4kxz7fwv9c8qtenxajrgcenxd3rveryxyck2vf4x5ekxvmyxaskzcnzv4jrydrzvdjnjcf4xpnxxdejvcmnzdpkx3jrxwtx8pnr2vnrv5urxcn9vdnrsqpqkun5628raxpm7usdkj62z2337hr77f3ryrg9cf0vjpyf4jvk9r9sgmztcn on the first question you asked to be able to copy the event id. Did you even mean NEvent? Or just the event id (hex)?
Generating a useful 'NEvent` according to the comments requires me to jump through some hoops (getting author 10002 event) so I wonder if it's even worth the effort?
I always thought that a NEvent (from NIP19 docs) is built from the original event only. Because even if you do the extra effort of including the first 3 outbox relays there is no guarantee that that event can be found on those relays. So geeking out on the idea of checking if that event is there before i include that relay. I'm feel like i'm going down the rabbit hole with this one.
From the NIP-19 docs:
https://blossom.primal.net/008edc14f15d5b4d093fa55c4503a311c9684f05789d924000921b06266a30e5.png
So optional. A simpler implementation would be to either:
- only include the relay hint if it was hinted in the e-tag
- include the relay i got the event from (which I'm currently not storing)
Letting this sit for a few days to think about it. I secretly hope you just needed the event id 😃