Skip to content
Open
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
2 changes: 1 addition & 1 deletion app/scripts/controllers/network/enums.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const XDC_TESTNET_RPC_ENDPOINT = "https://apothemxdcpayrpc.blocksscan.io/";
const XDC_DEVNET_RPC_ENDPOINT = "https://devnetrpc.apothem.network";

/* Block Explorer URLs */
const XDC_BLOCK_EXPLORER_URL = "https://observer.xdc.org";
const XDC_BLOCK_EXPLORER_URL = "https://xdc.blocksscan.io";
// const XDC_BLOCK_EXPLORER_URL = 'https://explorer.xdc.network'
const XDC_TESTNET_BLOCK_EXPLORER_URL = "https://explorer.apothem.network";
const XDC_DEVNET_BLOCK_EXPLORER_URL = "https://explorer.devnet.network";
Expand Down
6 changes: 3 additions & 3 deletions xdc-net-props/helpers/get-explorer-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getExplorerAccountLinkFor = (account, network) => {
return `${devLink(prefix)}/address/${account}`
}
else if (prefix === 'xinfin') {
return `https://observer.xdc.org/address-details/${account}`
return `https://xdc.blocksscan.io/address/${account}`
}
else
return `${xdcLink(prefix)}/address/${account}`
Expand All @@ -38,7 +38,7 @@ const getExplorerTxLinkFor = (hash, network) => {
return `${devLink(prefix)}/tx/${account}`
}
else if (prefix === 'xinfin') {
return `https://observer.xdc.org/address-details/${account}`
return `https://xdc.blocksscan.io/address/${account}`
}
else
return `${xdcLink(prefix)}/tx/${hash}`
Expand All @@ -53,7 +53,7 @@ const getExplorerTokenLinkFor = (tokenAddress, account, network,symbol) => {
return `${devLink(prefix)}/tokens/${tokenAddress}`
}
else if (prefix === 'xinfin') {
return `https://observer.xdc.org/token-data/${tokenAddress}/${symbol}`
return `https://xdc.blocksscan.io/tokens/${account}`
}
else
return `${xdcLink(prefix)}/tokens/${tokenAddress}`
Expand Down