Add all 4 transaction IDs for EVM Chain Swaps#122
Merged
TaprootFreak merged 4 commits intodevelopfrom Feb 1, 2026
Merged
Conversation
Integrate Ponder-Claim database to fetch claim TX hashes: - Add Ponder PostgreSQL connection pool and configuration - Extend SwapDto with preimageHash, preimage, version, chain IDs - Add sourceClaimTxId and destClaimTxId fields from Ponder-Claim DB - Create chain ID mapping utility for symbol-to-chainId resolution - Query lockups table by preimageHash to match claim TXs to swaps
Ponder generates PostgreSQL tables with snake_case column names: - preimageHash → preimage_hash - chainId → chain_id - claimTxHash → claim_tx_hash Also remove unused duplicate method and consolidate into single fetchClaimTxsFromPonder() method.
Boltz stores preimageHash WITHOUT 0x prefix (64 hex chars) Ponder stores preimageHash WITH 0x prefix (from Ethereum events) Normalize all hashes to 0x prefix before querying Ponder and when looking up in the claimTxMap.
lapatric
approved these changes
Feb 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
.env.example: Add Ponder PostgreSQL configuration variablessrc/config/config.ts: Add ponderPostgres configurationsrc/subdomains/support/constants/chain-ids.ts: New chain ID mapping utilitysrc/subdomains/support/dto/swap-stats.dto.ts: Extended SwapDto with new fieldssrc/subdomains/support/services/support.service.ts:fetchClaimTxsWithChainFromPonder()methodHow It Works
lockupstable for matching claim TXsTest plan
Closes #121