Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions modules/statics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## Unreleased

### Bug Fixes

* **statics:** direct FLRP transaction links to the Flare P-Chain Explorer.

# [59.28.0](https://github.com/BitGo/BitGoJS/compare/%40bitgo%2Fstatics%4059.27.0...%40bitgo%2Fstatics%4059.28.0) (2026-11-03)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2447,7 +2447,7 @@ export class FlareP extends Mainnet implements FlareNetwork {
assetId = '2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k';
name = 'FlareP';
family = CoinFamily.FLRP;
explorerUrl = 'https://flarescan.com/blockchain/pvm/tx/';
explorerUrl = 'https://flare.space/dapp/p-chain-explorer/tx/';
accountExplorerUrl = 'https://flarescan.com/blockchain/pvm/address/';
blockchainID = '11111111111111111111111111111111LpoYY';
cChainBlockchainID = 'umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c';
Expand Down
11 changes: 10 additions & 1 deletion modules/statics/test/unit/networks.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'should';
import { coins } from '../../src/coins';
import {
AccountNetwork,
BaseNetwork,
Expand Down Expand Up @@ -82,7 +83,6 @@ Object.entries(Networks).forEach(([category, networks]) => {

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

describe('FLRP transaction explorer', function () {
it('links a transaction to the P-Chain Explorer', function () {
const txId = 'LsGTBjN4hq8yxSpSTY62Jn9SUJVNoi2BLyxnJbhXnEPrD59mh';
`${coins.get('flrp').network.explorerUrl}${txId}`.should.equal(
'https://flare.space/dapp/p-chain-explorer/tx/LsGTBjN4hq8yxSpSTY62Jn9SUJVNoi2BLyxnJbhXnEPrD59mh'
);
});
});

describe('Cosmos-family addressPrefix', function () {
const cases: Array<[string, AccountNetwork, string]> = [
['main.atom', Networks.main.atom, 'cosmos'],
Expand Down
Loading