fix(statics): set Pearl testnet block explorer URL - #9739
Merged
manojkumar138 merged 1 commit intoSep 15, 2026
Merged
manojkumar138 merged 1 commit into
manojkumar138 merged 1 commit into
Conversation
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
Contributor
manojkumar138
marked this pull request as ready for review
September 15, 2026 13:33
Contributor
|
|
yashvanthbl137-crypto
approved these changes
Sep 15, 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
href.transferPresenter.explorerUrl()builds the link fromgetBaseCoin(coin).network.explorerUrl(packages/ui-core-presenters/src/presenters/transfer.presenter.ts), which wasundefinedfor bothPearlandPearlTestnetin@bitgo/statics— a placeholder left from initial onboarding, not a bug in bitgo-ui's rendering logic.PearlTestnet.explorerUrlto Pearl's testnet Blockbook explorer (https://blockbook.testnet.pearlresearch.ai/tx/), following the same base-URL-with-trailing-slash convention asZCash/ZCashTestnetand Dogecoin.Pearl(mainnet) intentionally staysundefined— no mainnet chain or block explorer exists yet.Test plan
Pearl Networktest cases inmodules/statics/test/unit/networks.tsasserting the testnet explorer URL and that mainnet stays undefinedyarn build— compiles cleannpx mocha test/unit/networks.tsandtest/unit/coins.ts— 37487 passing, no failureseslint— clean@bitgo-beta/staticsbump lands inbitgo-ui, confirm the Transaction Hash link on a Testnet Pearl wallet navigates tohttps://blockbook.testnet.pearlresearch.ai/tx/<hash>Ticket: CECHO-2178