< Back to Works
HASH: 0x0003...2025.11

XRPL Payment Gateway

Payment System

System Description

Solo-built XRPL payment gateway using a client-sign/server-broadcast model (tx_blob), supporting XRP and issued currencies with deterministic DestinationTag matching.

Technologies

NestJSXRPL SDKPostgreSQLBullMQTypeORMDDD
XRPL Payment Gateway
ROLE: SOLO_DEVELOPERDOMAIN: BLOCKCHAIN
!

PROBLEMThe Challenge

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.

SOLVEDThe Solution

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.

Technical Deep Dive

Overview

  • Solo-built XRPL payment gateway with a client-sign/server-broadcast model.
  • Supports payment matching via deterministic DestinationTag generation.

Key Flow

  1. Generate payment request + deterministic DestinationTag for matching
  2. Validate and decode client-signed tx_blob server-side, then broadcast
  3. Monitor confirmations via queue/worker and update payment state