diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index fbed8a2a60..30bfa42737 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -2297,7 +2297,7 @@ export class FlareP extends Mainnet implements FlareNetwork { assetId = 'Flare'; name = 'FlareP'; family = CoinFamily.FLRP; - explorerUrl = 'https://flarescan.com/blockchain/pvm/transactions/'; + explorerUrl = 'https://flarescan.com/blockchain/pvm/tx/'; accountExplorerUrl = 'https://flarescan.com/blockchain/pvm/address/'; blockchainID = '11111111111111111111111111111111LpoYY'; cChainBlockchainID = '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5'; @@ -2331,7 +2331,7 @@ export class FlareP extends Mainnet implements FlareNetwork { export class FlarePTestnet extends Testnet implements FlareNetwork { name = 'FlarePTestnet'; family = CoinFamily.FLRP; - explorerUrl = 'https://coston2.testnet.flarescan.com/blockchain/pvm/transactions'; + explorerUrl = 'https://coston2.testnet.flarescan.com/blockchain/pvm/tx/'; accountExplorerUrl = 'https://coston2.testnet.flarescan.com/blockchain/pvm/address/'; flarePublicUrl = 'https://coston2.testnet.flare.network'; blockchainID = '11111111111111111111111111111111LpoYY'; diff --git a/modules/statics/test/unit/networks.ts b/modules/statics/test/unit/networks.ts index 2b92f1d3fb..c859bd45d5 100644 --- a/modules/statics/test/unit/networks.ts +++ b/modules/statics/test/unit/networks.ts @@ -70,6 +70,17 @@ Object.entries(Networks).forEach(([category, networks]) => { Networks.test.near.accountExplorerUrl.should.equal('https://testnet.nearblocks.io/address/'); }); }); + + 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( + 'https://coston2.testnet.flarescan.com/blockchain/pvm/address/' + ); + }); + }); }); });