Skip to content

Commit 980ffd5

Browse files
committed
feat(statics): update ICP explorer URLs for mainnet and testnet
TICKET: WIN-4242
1 parent 0cf8c47 commit 980ffd5

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)