mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Per Trocador's commercial team, webhook-driven status updates are preferred over polling. Adding 'webhook' param to /new_trade so Trocador POSTs status changes to our Cloudflare Worker, which caches them in KV for the wallet to read. This commit only adds the producer side. The wallet still polls Trocador directly (every 5 min via trade_monitor.dart); switching the polling source to our worker is a follow-up.