Vitor Pamplona on Nostr: Yep. Everything in Amethyst was linked back to hex-formatted event IDs. Now we have ...
Yep. Everything in Amethyst was linked back to hex-formatted event IDs. Now we have to use both hex keys and a tags to find events everywhere.
Like, when you click on a thread, if the event is non-replaceable, it goes by the event id as usual. But if the event is replaceable, it has to merge all replies, zaps, reports, boosts, quotes, etc that cited the a tag instead.
Published at
2023-03-03 15:26:00Event JSON
{
"id": "1184a28291abb60f32be0e63d14bbeb935fca8d1352ff876f2c51927f287abdf",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1677857160,
"kind": 1,
"tags": [
[
"e",
"4d410fd399da58d050fe85feff679f14b79ffb01a6a9c2221b87ef9a86711daf"
],
[
"e",
"e2fc388392e0682b0926030f033a1fded4e5003411f854aec8bf2e7a2d29ee99"
],
[
"e",
"0016cd4cba0fc9bf9f7c6cc7fb97b75b191670725eba7375ff0be7c9dc295bc1"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"67ddca50751581c703c174790588c2cd8b00f80313d0f80a5b9e73d45e48ac20"
]
],
"content": "Yep. Everything in Amethyst was linked back to hex-formatted event IDs. Now we have to use both hex keys and a tags to find events everywhere. \n\nLike, when you click on a thread, if the event is non-replaceable, it goes by the event id as usual. But if the event is replaceable, it has to merge all replies, zaps, reports, boosts, quotes, etc that cited the a tag instead. ",
"sig": "713750a0f94fc6f8827a82dc0e82bb626816f6e6b4b419732103114af06e050e0dd74f6b49b471f11d537b69a307bb3f397f9ffd7c125d40f6aad7285b3201d2"
}