docs: sync from backend cdc8df1 + frontend a5dd48e + scanner 8fee27e — AMN Pay Scanner
- Activity Log: new entry for AMN Pay Scanner implementation - Environment Variables: document AMN_SCANNER_URL, AMN_SCANNER_WEBHOOK_SECRET, AMN_SCANNER_DEFAULT - PRD status table: mark all components implemented
This commit is contained in:
@@ -1,10 +1,23 @@
|
||||
# PRD — Retire Request Network: AMN Pay Scanner (Standalone Microservice)
|
||||
|
||||
> Status: **Ready for implementation**
|
||||
> Task: #13 (new)
|
||||
> Status: **Implemented — 2026-05-29**
|
||||
> Task: #13
|
||||
> Priority: High
|
||||
> Effort estimate: ~4–6 days (Rust/Go scanner service + Node.js adapter swap)
|
||||
> Depends on: Task #8 (done), Task #9 (confirmation thresholds), Task #11 (Trezor sweep — parallel, not blocking)
|
||||
>
|
||||
> | Component | Status |
|
||||
> |---|---|
|
||||
> | Go scanner service | ✅ Done — `scanner/*.go`, builds, tests pass |
|
||||
> | Backend adapter (`amnPayAdapter.ts`) | ✅ Done — implements `PaymentProviderAdapter` |
|
||||
> | Webhook receiver (`amnScannerWebhookRoutes.ts`) | ✅ Done — HMAC verify + PaymentCoordinator delegation |
|
||||
> | Provider config (`providerConfig.ts`) | ✅ Done — `amn.scanner` enabled when `AMN_SCANNER_URL` set |
|
||||
> | Admin scanner status proxy | ✅ Done — `GET /api/admin/scanner/status` |
|
||||
> | Frontend lag column | ✅ Done — color-coded chips in networks list |
|
||||
> | Docker compose (dev + prod) | ✅ Done — `amn-scanner` service with healthcheck |
|
||||
> | Env vars (backend + scanner) | ✅ Done — `AMN_SCANNER_URL`, `AMN_SCANNER_WEBHOOK_SECRET`, `AMN_SCANNER_DEFAULT` |
|
||||
> | Cross-language reference test | ✅ Done — Go `computePaymentReference` = TS `computeOnChainPaymentReference` |
|
||||
> | Live end-to-end probe | ⏳ Pending — requires deployed scanner + real on-chain payment |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user