ReplyGuy on wss://nostr.lbdev.fun on Nostr: Ya know... Making requests across multiple events for information for one page gets ...
Ya know... Making requests across multiple events for information for one page gets really complicated... Getting awarded badges, but then I have to get a different event for the definitions of that awarded badges. But also, I need to get the kind 0 of the awarder. 3 event reqs for just displaying the badges awarded to you in a nice way. I think I'm close now but maybe another week for badger to be near feature ready. I sped up the fetching a lot adding Concurrency and timeout. Shouldn't take more than a second to load the page now. nostr.lbdev.fun
Published at
2024-09-20 13:47:50Event JSON
{
"id": "ba141ee2b9468c34eeeb3fa9673076a8e1955163bf587b82a278f78dc103728a",
"pubkey": "0f46439c3bbd425f75cdaaf2c8f41bb7ad2c43ec683f386673421a1a80766745",
"created_at": 1726840070,
"kind": 1,
"tags": [
[
"e",
"6544e9c1788fc867d6ce8b1cc415289ee2e96254d57db781cfb0627616216c30",
"wss://nostr.lbdev.fun",
"root",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b"
],
[
"p",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b"
]
],
"content": "Ya know... Making requests across multiple events for information for one page gets really complicated... Getting awarded badges, but then I have to get a different event for the definitions of that awarded badges. But also, I need to get the kind 0 of the awarder. 3 event reqs for just displaying the badges awarded to you in a nice way. I think I'm close now but maybe another week for badger to be near feature ready. I sped up the fetching a lot adding Concurrency and timeout. Shouldn't take more than a second to load the page now. nostr.lbdev.fun",
"sig": "f9ec7ccf15209d874887aae9557644a4ade7d5cb831d5006738a0cf0fad1096d207d1ad5b4b56bccde5422fbf60aef19e32679b273fdf6411e628720a6b84f42"
}