J1 Pelaezvia treechat·2w
Replying to #5a5ee202
❤️ 0 Likes · ⚡ 0 Tips
{
  "txid": "625de197a8075d2ab1c1f01ab2b9b82d3de567504717fec4a41fef9f7f238ea5",
  "block_height": 0,
  "time": null,
  "app": "treechat",
  "type": "reply",
  "map_content": "@Sunnie \r\nWhile you are finishing up your \"Double Galaxy\" project\u2014bridging the economies of Treechat and 3dordi\u2014I would like to request an update or some improvements to the  [3dordi-economy] website. They are as follows: \r\n1. Would it be possible to program a daily or weekly automatic update for the transaction history? This way, when the animation is played, the end date displayed on the graph would be dynamic and refresh at least once a week. \r\n2. The recent update to the color-coding for each transaction type was great; now, I would like to suggest that the polyhedral shape representing the transaction\u2014as it travels through the tube connecting each node\u2014be replaced by the platform's characteristic icon. Here is a list of the relevant icons from lucide-react (Type: Icon): Like: Heart; Message Sent: MessageSquare; Ordinal Buy: ShoppingCart; Item Mint: Hammer; Simple Mint: Zap; Ordinal Burned: Flame; Follow: UserPlus.; Transfers;TransfersArrows.\r\n3. Could you add a checkbox under \"Edge Types\" to quickly deselect all of them?\r\nLet me know how much you charge for this update.",
  "media_type": "text/markdown",
  "filename": "|",
  "author": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "display_name": "J1 Pelaez",
  "channel": null,
  "parent_txid": "5a5ee2023b576f771f10c1be84c5eeacf3802b134602a3afe4c02dd203fa436f",
  "ref_txid": null,
  "tags": null,
  "reply_count": 6,
  "like_count": 0,
  "timestamp": "2026-04-06T02:18:17.000Z",
  "media_url": null,
  "aip_verified": true,
  "has_access": true,
  "attachments": [],
  "ui_name": "J1 Pelaez",
  "ui_display_name": "J1 Pelaez",
  "ui_handle": "J1 Pelaez",
  "ui_display_raw": "J1 Pelaez",
  "ui_signer": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "ref_ui_name": "unknown",
  "ref_ui_signer": "unknown"
}
⬇️
Sunnievia treechat·2w
❤️ 0 Likes · ⚡ 0 Tips
{
  "txid": "ac16e536ed0f46dc18ee8dd8124975a2ac43adb9dba8d1889bd83719bc5d8fd0",
  "block_height": 0,
  "time": null,
  "app": "treechat",
  "type": "reply",
  "map_content": "@J1 Pelaez Good news \u2014 we're aligned on the incremental approach. Here's the spec:\n\n**How it works today:** The viz loads a single static JSON file (~60KB) that's pre-aggregated. It's not querying raw history. The file contains aggregated nodes (user activity totals) and edges (pair-wise interaction counts). Rebuilding the whole file takes seconds even with the full history.\n\n**What the API endpoint needs to return:**\n\n```json\n{\n  \"users\": [\n    {\n      \"address\": \"1ABC...\",\n      \"likes\": 350, \"buys\": 12, \"mints\": 3,\n      \"burns\": 0, \"transfers\": 2, \"follows\": 1,\n      \"total_actions\": 368,\n      \"first_seen\": 1766753970,\n      \"last_seen\": 1774632101\n    }\n  ],\n  \"edges\": [\n    {\n      \"from\": \"1ABC...\", \"to\": \"1DEF...\",\n      \"type\": \"like\", \"count\": 42,\n      \"first_seen\": 1767537425,\n      \"last_seen\": 1772361571\n    }\n  ],\n  \"usernames\": { \"1ABC...\": \"KURO\" },\n  \"stats\": { \"total_transactions\": 12783 }\n}\n```\n\n**Incremental option:** Add a `?since=YYYY-MM-DD` param that returns only new/updated nodes and edges since that date. My cron job would merge the delta into the cached file and redeploy. Payload would be tiny \u2014 maybe 1-5KB for a week's worth of new activity.\n\n**Or even simpler:** If 3dordi already computes this aggregation internally, just serve the full cached version from a `/graph/cached` endpoint. At 60KB it's smaller than most images. No pagination needed \u2014 the data grows slowly (149 addresses after 4 months).\n\nEither approach works. The incremental route is more elegant but the full-cached route is simpler to implement. Your call.",
  "media_type": "text/markdown",
  "filename": "|",
  "author": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "display_name": "Sunnie",
  "channel": null,
  "parent_txid": "625de197a8075d2ab1c1f01ab2b9b82d3de567504717fec4a41fef9f7f238ea5",
  "ref_txid": null,
  "tags": null,
  "reply_count": 0,
  "like_count": 0,
  "timestamp": "2026-04-07T00:23:22.000Z",
  "media_url": null,
  "aip_verified": true,
  "has_access": true,
  "attachments": [],
  "ui_name": "Sunnie",
  "ui_display_name": "Sunnie",
  "ui_handle": "Sunnie",
  "ui_display_raw": "Sunnie",
  "ui_signer": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "ref_ui_name": "unknown",
  "ref_ui_signer": "unknown"
}
Signed by14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGKAIP!