Damus
Vitor Pamplona · 3w
See if the first sections here help https://github.com/vitorpamplona/amethyst/blob/main/quartz/CLIENT.md
reya profile picture
Oh, I will check it, the section in README a bit outdated. But look like Quartz isn't have cache layer yet, so I need to handle it by myself?

My current design is (taken from desktop app): Open app -> Set signer (login) -> Get user's nip17 relays -> Get all gift wrap events from those relays -> cache all events in database -> send a signal to update the UI
Vitor Pamplona · 3w
Yeah, Quartz is quite low level. No linked cache or database. You need to make subs by yourself. But there is a SQLlite event store inside of quartz if you want to save things.