Skip to content

Commit 709af9f

Browse files
committed
fix(statics): correct FLRP transaction explorer URL
Point mainnet FLRP transaction links at the Flare P-Chain Explorer so customers can open the correct transaction instead of Flarescan. Add a transaction-link regression and document the correction. Ticket: CECHO-2694 Session-Id: 8218b461-62c0-4e6d-b832-f7a0eff2f031 Task-Id: 6cf7a3c4-c07b-4627-aa5e-a145b83203ec
1 parent fe80d7f commit 709af9f

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

‎modules/statics/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## Unreleased
7+
8+
### Bug Fixes
9+
10+
* **statics:** direct FLRP transaction links to the Flare P-Chain Explorer.
11+
612
# [59.28.0](https://github.com/BitGo/BitGoJS/compare/%40bitgo%2Fstatics%4059.27.0...%40bitgo%2Fstatics%4059.28.0) (2026-11-03)
713

814
### Bug Fixes

‎modules/statics/src/networks.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2447,7 +2447,7 @@ export class FlareP extends Mainnet implements FlareNetwork {
24472447
assetId = '2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k';
24482448
name = 'FlareP';
24492449
family = CoinFamily.FLRP;
2450-
explorerUrl = 'https://flarescan.com/blockchain/pvm/tx/';
2450+
explorerUrl = 'https://flare.space/dapp/p-chain-explorer/tx/';
24512451
accountExplorerUrl = 'https://flarescan.com/blockchain/pvm/address/';
24522452
blockchainID = '11111111111111111111111111111111LpoYY';
24532453
cChainBlockchainID = 'umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c';

‎modules/statics/test/unit/networks.ts‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'should';
2+
import { coins } from '../../src/coins';
23
import {
34
AccountNetwork,
45
BaseNetwork,
@@ -82,7 +83,6 @@ Object.entries(Networks).forEach(([category, networks]) => {
8283

8384
describe('FlareP Network', function () {
8485
it('should have correct explorer URLs', function () {
85-
Networks.main.flrP.explorerUrl.should.equal('https://flarescan.com/blockchain/pvm/tx/');
8686
Networks.main.flrP.accountExplorerUrl.should.equal('https://flarescan.com/blockchain/pvm/address/');
8787
Networks.test.flrP.explorerUrl.should.equal('https://coston2.testnet.flarescan.com/blockchain/pvm/tx/');
8888
Networks.test.flrP.accountExplorerUrl.should.equal(
@@ -103,6 +103,15 @@ Object.entries(Networks).forEach(([category, networks]) => {
103103
});
104104
});
105105

106+
describe('FLRP transaction explorer', function () {
107+
it('links a transaction to the P-Chain Explorer', function () {
108+
const txId = 'LsGTBjN4hq8yxSpSTY62Jn9SUJVNoi2BLyxnJbhXnEPrD59mh';
109+
`${coins.get('flrp').network.explorerUrl}${txId}`.should.equal(
110+
'https://flare.space/dapp/p-chain-explorer/tx/LsGTBjN4hq8yxSpSTY62Jn9SUJVNoi2BLyxnJbhXnEPrD59mh'
111+
);
112+
});
113+
});
114+
106115
describe('Cosmos-family addressPrefix', function () {
107116
const cases: Array<[string, AccountNetwork, string]> = [
108117
['main.atom', Networks.main.atom, 'cosmos'],

0 commit comments

Comments
 (0)