Repository navigation
feat(zcash): add transaction pages with shielded bundles and fee lookup - #409
Merged
Merged
Conversation
7 of 12 tasks
MatiasOS
force-pushed
the
issue-398-zcash-transactions
branch
from
November 20, 2026 22:11
1197a6b to
101c623
Compare
|
🚀 Preview: https://pr-409--openscan.netlify.app |
Fully shielded transactions explain that amounts are encrypted instead of rendering empty input and output columns. Fees come from value balances; transparent input values, which Zebra omits, are looked up on demand for at most 10 previous transactions.
- The input lookup is aborted when the page moves to another
transaction, and its late results are dropped, so it can no longer
bring the previous transaction back.
- A failed lookup keeps the inputs it resolved; Retry resumes from them
and the fee row says how far it got.
- Over the lookup cap no lookup is offered: it couldn't complete the
fee and would spend ten calls on a rate-limited gateway.
- Transactions are cached only once 100 blocks deep; cached
confirmations show as a lower bound ("N+").
- Fees use the coinbase | unknown | known result; the kind badge, pool
chips, output value and skeletons come from the shared cells.
- Pages read their network from useZcashNetworkFromPath, abort on
navigation, and the loader retry re-runs the fetch.
- Plural forms for confirmations, JoinSplits, actions and inputs.
- E2E: coinbase, Sprout, Orchard deshielding, a definitive answer next
to a rate-limited endpoint, and a lookup that finishes late.
MatiasOS
force-pushed
the
issue-398-zcash-transactions
branch
from
November 20, 2026 23:44
101c623 to
dcbff1d
Compare
8 of 12 tasks
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.
Description
Adds the Zcash transactions list (
/zec/txs) and transaction detail (/zec/tx/:filter) pages, plus theirtzecequivalents.The transaction page handles three things that make Zcash different from Bitcoin:
vinandvoutare both empty, the page explains that amounts and parties are encrypted. It doesn't render empty input and output columns.The transactions list pages client-side within a single block, which costs one
getblockcall. Newer/older block navigation works out the chain tip from the block's confirmations, so it needs no extra call.Related Issue
Part of #398. Stacked on #408.
Type of Change
Changes Made
ZcashTransactionsPage,ZcashTransactionPage,ZcashTransactionDisplayandZcashShieldedBundles.countPreviousTransactionsutil, with a unit test.labels.tsholding the typed i18n keys for pools and transaction kinds. The existing dashboard and block components now use it too.zec|tzec/txsandzec|tzec/tx/:filter.zcashlocale strings andtooltips.zcash.txin all 5 locales.e2e/tests/shared/mocked/zcash-transactions.spec.ts. The shared RPC mock now also serves transactions:Screenshots (if applicable)
Checked locally against mocked RPC data:
Checklist
npm run format:fixandnpm run lint:fixnpm run typecheckwith no errorsnpm run test:runAdditional Notes
36a167f6…, which is Ironwood only: 0.0001 ZEC.c973d2f1…, which uses Sapling and Ironwood: 0.0002 ZEC.717b54c3…has 15 transparent inputs, so the lookup stops at 10 and the page says so.npm run test:run: 151 passing.Review follow-up
coinbase | unknown | knownresult. The kind badge, pool chips, output value and skeletons come from the shared cells; the label-key refactor that was here moved down to feat(network): add Zcash network dashboard #407 and feat(zcash): add blocks list and block detail pages #408.Tests after the follow-up
npm run test:run: 199 passing.