Skip to content

feat(webhooks): implement webhook tester#32

Open
devboluwatife53 wants to merge 2 commits into
Savitura:mainfrom
devboluwatife53:feat/webhook-tester
Open

feat(webhooks): implement webhook tester#32
devboluwatife53 wants to merge 2 commits into
Savitura:mainfrom
devboluwatife53:feat/webhook-tester

Conversation

@devboluwatife53

Copy link
Copy Markdown
Contributor

closes #30

… hop visualization, and slippage estimation

- Add GET /simulator/paths wrapping Horizon strict-send/strict-receive with per-hop breakdown, effective rate, and recommended slippage
- Add POST /simulator/estimate computing destination_min/send_max from slippage tolerance
- Add validation DTOs (find-paths.dto.ts, estimate.dto.ts) with class-validator
- Rewrite simulator-tool.tsx with asset pickers, direction toggle, hop chain visualization, live slippage recalc, and composer linking
- Register SimulatorModule in app.module.ts
- Add simulator types to frontend api.ts
…/history/replay, and HMAC signing

Add full webhook testing tool for CrowdPay and Fluxa event types:

API:
- 8 canonical event templates with realistic sample payloads
- POST /webhooks/send with HMAC-SHA256 signature generation
- GET /webhooks/history (last 50 attempts, 24h Redis TTL)
- POST /webhooks/replay/:id for re-sending past attempts

Web:
- Interactive payload editor with JSON validation
- Live HMAC signature preview as secret is typed
- Side-by-side request/response inspector
- History table with replay and copy-as-cURL support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sample Payload Sender, Request Log & Response Inspector

2 participants