Skip to content

fix(statics): set Pearl testnet block explorer URL - #9739

Merged
manojkumar138 merged 1 commit into
masterfrom
manojkumar138/cecho-2178-duplex-tx-hash-link-not-working
Sep 15, 2026
Merged

manojkumar138 merged 1 commit into
masterfrom
manojkumar138/cecho-2178-duplex-tx-hash-link-not-working

Conversation

@manojkumar138

Copy link
Copy Markdown
Contributor

Summary

  • Fixes the Transaction Hash link on a Testnet Pearl (TPRL) wallet's transaction detail doing nothing when clicked — it renders as a styled link but has no href.
  • Root cause: bitgo-ui's transferPresenter.explorerUrl() builds the link from getBaseCoin(coin).network.explorerUrl (packages/ui-core-presenters/src/presenters/transfer.presenter.ts), which was undefined for both Pearl and PearlTestnet in @bitgo/statics — a placeholder left from initial onboarding, not a bug in bitgo-ui's rendering logic.
  • Sets PearlTestnet.explorerUrl to Pearl's testnet Blockbook explorer (https://blockbook.testnet.pearlresearch.ai/tx/), following the same base-URL-with-trailing-slash convention as ZCash/ZCashTestnet and Dogecoin.
  • Pearl (mainnet) intentionally stays undefined — no mainnet chain or block explorer exists yet.

Test plan

  • Added Pearl Network test cases in modules/statics/test/unit/networks.ts asserting the testnet explorer URL and that mainnet stays undefined
  • yarn build — compiles clean
  • npx mocha test/unit/networks.ts and test/unit/coins.ts — 37487 passing, no failures
  • eslint — clean
  • Manual verification: once a downstream @bitgo-beta/statics bump lands in bitgo-ui, confirm the Transaction Hash link on a Testnet Pearl wallet navigates to https://blockbook.testnet.pearlresearch.ai/tx/<hash>

Ticket: CECHO-2178

Testnet Pearl (TPRL) transaction detail showed the Transaction Hash
as a styled link that did nothing when clicked. bitgo-ui's
transferPresenter.explorerUrl() builds the link from
getBaseCoin(coin).network.explorerUrl, which was `undefined` for
both Pearl and PearlTestnet — a placeholder left over from initial
onboarding, not a missing case in bitgo-ui's link-rendering logic.

Set PearlTestnet.explorerUrl to Pearl's testnet Blockbook
(https://blockbook.testnet.pearlresearch.ai/tx/), matching the
ZCash/Dogecoin convention (base URL with trailing slash, tx hash
appended directly). Pearl (mainnet) has no launched chain or block
explorer yet, so it intentionally stays undefined.

Ticket: CECHO-2178
@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

CECHO-2178

@manojkumar138
manojkumar138 marked this pull request as ready for review September 15, 2026 13:33
@manojkumar138
manojkumar138 requested a review from a team as a code owner September 15, 2026 13:33
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Unit tests are failing on Node 26.x (Current release line, non-blocking). This is not an LTS version yet, so it does not block merge, but it signals an incompatibility to fix before Node 26.x becomes LTS.

View run

@manojkumar138
manojkumar138 merged commit 199b828 into master Sep 15, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants