diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index 4fdd676700..f5bd93f51d 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -1466,6 +1466,7 @@ class Pearl extends Mainnet implements UtxoNetwork { family = CoinFamily.PEARL; /** wasm-utxo CoinName, not a utxo-lib network - see note above */ utxolibName = 'pearl'; + // No mainnet Pearl block explorer exists yet - the chain has not launched mainnet. explorerUrl = undefined; } @@ -1474,7 +1475,7 @@ class PearlTestnet extends Testnet implements UtxoNetwork { family = CoinFamily.PEARL; /** wasm-utxo CoinName, not a utxo-lib network - see note above */ utxolibName = 'tpearl'; - explorerUrl = undefined; + explorerUrl = 'https://blockbook.testnet.pearlresearch.ai/tx/'; } class Near extends Mainnet implements AccountNetwork { diff --git a/modules/statics/test/unit/networks.ts b/modules/statics/test/unit/networks.ts index 99fe196a20..eb2bbc9c05 100644 --- a/modules/statics/test/unit/networks.ts +++ b/modules/statics/test/unit/networks.ts @@ -89,6 +89,16 @@ Object.entries(Networks).forEach(([category, networks]) => { ); }); }); + + describe('Pearl Network', function () { + it('should have a testnet explorer URL (CECHO-2178)', function () { + Networks.test.pearl.explorerUrl.should.equal('https://blockbook.testnet.pearlresearch.ai/tx/'); + }); + + it('has no mainnet explorer URL yet - Pearl has not launched mainnet', function () { + should(Networks.main.pearl.explorerUrl).be.undefined(); + }); + }); }); });