Skip to content

Implement wallet auth, rate limiting, error handling, and live market events - #1154

Merged
Ehonrie merged 2 commits into
Netwalls:mainfrom
Kingsman-99:feature/1091-1092-1093-1094-backend-middleware-events
Jul 27, 2026
Merged

Implement wallet auth, rate limiting, error handling, and live market events#1154
Ehonrie merged 2 commits into
Netwalls:mainfrom
Kingsman-99:feature/1091-1092-1093-1094-backend-middleware-events

Conversation

@Kingsman-99

Copy link
Copy Markdown
Contributor

Kingsman-99 and others added 2 commits July 26, 2026 07:42
… events

- Netwalls#1091 B-33: walletAuthMiddleware — challenge/response Stellar signature
  auth for admin routes, with TTL-expiring one-time challenges and address
  whitelist enforcement.
- Netwalls#1092 B-34: rateLimitMiddleware — Redis-backed sliding-window limiter,
  configurable per route group, applied to admin write endpoints, returns
  429 with Retry-After.
- Netwalls#1093 B-35: errorHandlerMiddleware — centralized error-to-HTTP mapping
  for validation, contract, and unexpected errors, never leaking stack
  traces.
- Netwalls#1094 B-36: SSE endpoint for live market events, subscribable per
  marketId, fed directly by the indexer's bet_placed/market_resolved
  handlers.
@Ehonrie
Ehonrie merged commit 83ef207 into Netwalls:main Jul 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants