feat(relayer): add deposit recovery endpoint#459
Closed
Conversation
Extend the /validator-info endpoint to return both ISM address and escrow public key. Both fields are now optional to support validators that have only ISM key, only escrow key, or both. Response format: - ism_address: Ethereum-style address (if ISM signer configured) - escrow_pub: Compressed secp256k1 public key hex (if escrow key configured) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add a command to compute the Hyperlane message ID for Kaspa deposit transactions. This enables users to verify whether a deposit has been processed on the Dymension hub by querying with the computed message ID. The message ID is deterministically derived from the deposit payload combined with the Kaspa transaction metadata (tx_id, utxo_index). Usage: kaspa-tools compute-deposit-id <payload> <tx_id> <utxo_index> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Add POST /kaspa/deposit/recover endpoint to manually recover deposits that fell outside the normal lookback window due to relayer DB being wiped or other issues. The endpoint: - Accepts a kaspa_tx ID - Fetches the transaction from Kaspa REST API - Validates it's a valid escrow transfer - Queues it for processing via the existing deposit pipeline Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
|
Recreating with clean branch from main-dym |
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
/kaspa/deposit/recoverendpoint to manually recover Kaspa deposits that fell outside the normal lookback windowUsage
Test plan
🤖 Generated with Claude Code