docs: vault-side ETH tx tracker handoff#54
Open
BitHighlander wants to merge 1 commit intodevelopfrom
Open
Conversation
Complete proposal + handoff for vault changes needed to unblock the BEX pending-tx visibility feature. Audits what already exists (api_log raw hex storage, swap-tracker.ts polling pattern, /api/v1/activity endpoint), proposes a narrow extension that mirrors swap-tracker for plain ETH txs, and lists every file with absolute paths. Architecture follows the corrected direction: vault owns persistence (SQLite + tracker), BEX is a thin polling client. No new BEX-side storage. Re-broadcast uses cached raw hex from api_log (re-uses existing data, no duplication). Five new vault REST endpoints + matching SDK methods: GET /api/v1/eth/pending GET /api/v1/eth/tx/:txid POST /api/v1/eth/tx/:txid/rebroadcast POST /api/v1/eth/tx/:txid/speed-up POST /api/v1/eth/tx/:txid/cancel One new SQLite table (eth_tx_status) — separate from api_log because audit must remain immutable. Polling cadence 60s, drop heuristic pending-vs-latest after 2min. BEX companion work goes on feat/pending-tx-visibility branch (separate PR, gated on vault SDK release). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Handoff doc for the vault-v11 changes required to unblock the BEX pending-tx visibility feature (ShieldBadge pip + dropdown, rebroadcast/cancel/speed-up).
What's in it
Companion BEX work
Lives on `feat/pending-tx-visibility` in this repo. Gated on vault SDK release.
Why this is doc-only
No vault repo changes happen here. This PR just gets the proposal reviewed + lands a stable URL the vault PR can reference.