Oh, I will check it, the section in README a bit outdated. B...

reya
npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445
hex
76f83c3cd9248300d3cd024612a6accbcf2a20ccfc7dbed51776caa6ac4cefcfnevent
nevent1qqs8d7pu8nvjfqcq60xsy3sj56kvhne2yrx0cld765thdj4x43xwlncprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgspycgrhlwu3he9ddhq407h7duheqxucn4g3a7zlp7agyzzyz6dvhcks285rKind-1 (TextNote)
↳ 回复 Vitor Pamplona (npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z)
See if the first sections here help https://github.com/vitorpamplona/amethyst/blob/main/quartz/CLIENT.md
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
原始 JSON
{
"kind": 1,
"id": "76f83c3cd9248300d3cd024612a6accbcf2a20ccfc7dbed51776caa6ac4cefcf",
"pubkey": "126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"created_at": 1777433612,
"tags": [
[
"e",
"bfa0753475acab2fbea9dab9eed3b109addd749784f3216963d2f5c3e8acd26a",
"wss://relay.gulugulu.moe/",
"root",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f"
],
[
"e",
"7c530096b3351935fe50f943cde3337bd6bd840391ffd7f2584f76e79a565641",
"wss://relay.damus.io/",
"reply",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "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?\n\nMy current design is (taken from desktop app): Open app -\u003e Set signer (login) -\u003e Get user's nip17 relays -\u003e Get all gift wrap events from those relays -\u003e cache all events in database -\u003e send a signal to update the UI",
"sig": "f78efe85a661f265cdb3f26ef595c9ba468402d8c84bdfe187c5c0438ffaf41c4d62dc0ef16dbda420bead5cb800ec7c2bfaa1dbfa0652100177ec9aeee94e8d"
}