Paradaux
IssuesPAR-75Backlog
0

Log websocket for incoming transactions

Emit a per-transfer signal so incoming transactions can be reacted to (in-game chat notifications, websocket feeds, etc.).

Grounded: Treasury fires no per-transfer event — only TaxCycleEvent (see tasks/TaxCycleTask). TreasuryApi.transfer(...) completes silently, so nothing can react to a firm/player receiving money.

Add a Bukkit event (e.g. TransferEvent carrying from/to account ids + amount + reason) fired after a successful ledger transfer, and/or a websocket feed for external consumers. Unblocks PAR-56 (notify online firm employees in chat on incoming transfer) and the event-driven path for PAR-57.

Comments

tesks · Jun 4, 2026, 9:57 AM

Code context — There's no websocket / transaction streaming in business or treasury today; transfers go synchronously through TreasuryApi.transfer, and the only async hook is TaxCycleEvent.

This belongs at the Treasury / treasury-rest-api layer, not business (the ledger is Treasury's system of record). Realistic shape: an SSE/WebSocket in treasury-rest-api tailing the transaction table, or a new Treasury per-transfer event with an outbound publisher; business-rian would only be a consumer. Confirm scope/owner — pairs with PAR-56 (both want a transfer event that doesn't exist yet).

Activity

  • ParadauxIO linked a commit — Commit 08b8cbb — Add firm notification service + incoming-transfer notices (PAR-94, PAR-56)Jun 7, 2026, 2:49 PM
  • ParadauxIO linked a commit — Commit 08b8cbb — Add firm notification service + incoming-transfer notices (PAR-94, PAR-56)Jun 5, 2026, 11:14 AM
  • tesks changed status to Status → BacklogJun 4, 2026, 8:53 PM
  • tesks description: Description updatedJun 4, 2026, 8:53 PM
  • tesks updated labels (Labels updated)Jun 4, 2026, 8:53 PM
  • tesks commentedJun 4, 2026, 9:57 AM
  • tesks assigned Assigned to rianJun 4, 2026, 9:26 AM
  • tesks created the issueJun 2, 2026, 9:42 PM