Skip to content

Commit f459d74

Browse files
authored
Merge pull request #6041 from BitGo/WIN-4242
feat(statics): update ICP explorer URLs for mainnet and testnet
2 parents 1192226 + 980ffd5 commit f459d74

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

modules/statics/src/networks.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,17 @@ class AptTestnet extends Testnet implements AccountNetwork {
172172
class Icp extends Mainnet implements AccountNetwork {
173173
name = 'Internet Computer';
174174
family = CoinFamily.ICP;
175-
explorerUrl = 'https://www.icpexplorer.org/#/tx/'; //TODO(WIN-4242): update to the test rosetta explorer url
176-
accountExplorerUrl = 'https://www.icpexplorer.org/#/account/?network=mainnet';
177-
blockExplorerUrl = 'https://www.icpexplorer.org/#/block/?network=mainnet';
175+
explorerUrl = 'https://dashboard.internetcomputer.org/transaction/';
176+
accountExplorerUrl = 'https://dashboard.internetcomputer.org/account/';
178177
}
179178

180179
class IcpTestnet extends Testnet implements AccountNetwork {
181180
name = 'Testnet Internet Computer';
182181
family = CoinFamily.ICP;
183-
explorerUrl = 'https://www.icpexplorer.org/#/tx/'; //TODO(WIN-4242): update to the test rosetta explorer url
184-
accountExplorerUrl = 'https://www.icpexplorer.org/#/account/?network=testnet';
185-
blockExplorerUrl = 'https://www.icpexplorer.org/#/block/?network=testnet';
182+
explorerUrl = 'https://dashboard.internetcomputer.org/transaction/'; // ICP testnet explorer is not available, so using mainnet explorer
183+
accountExplorerUrl = 'https://dashboard.internetcomputer.org/account/';
186184
}
185+
187186
class Arbitrum extends Mainnet implements EthereumNetwork {
188187
name = 'Arbitrum';
189188
family = CoinFamily.ARBETH;

0 commit comments

Comments
 (0)