
XRPL Payment Gateway
An XRPL payment gateway that keeps signing on the client and validation and broadcast on the server. DestinationTag-based matching and queue workers track XRP and issued-currency payments to final confirmation.
An XRPL payment gateway that keeps signing on the client and validation and broadcast on the server. DestinationTag-based matching and queue workers track XRP and issued-currency payments to final confirmation.
What made this system difficult?
Had to validate tx_blob server-side (destination/vault/amount/tag) while keeping keys on the client and reliably matching payments under a single receiving address.
How did the design respond?
Implemented tx_blob decoding/validation, deterministic DestinationTag generation derived from a payment identifier, and a BullMQ confirmation monitor that checks validated success (tesSUCCESS) and emits payment confirmation events.
Overview
- Solo-built XRPL payment gateway with a client-sign/server-broadcast model.
- Supports payment matching via deterministic DestinationTag generation.
Key Flow
- Generate payment request + deterministic DestinationTag for matching
- Validate and decode client-signed tx_blob server-side, then broadcast
- Monitor confirmations via queue/worker and update payment state
