diff --git a/src/components/Tokens/TokenDetails/About.tsx b/src/components/Tokens/TokenDetails/About.tsx index 9cfdd043..2ad05b93 100644 --- a/src/components/Tokens/TokenDetails/About.tsx +++ b/src/components/Tokens/TokenDetails/About.tsx @@ -74,7 +74,7 @@ export function AboutSection({ address, chainId, description, homepageUrl, twitt diff --git a/src/components/TransactionConfirmationModal/index.tsx b/src/components/TransactionConfirmationModal/index.tsx index 35fb44cd..fad53a05 100644 --- a/src/components/TransactionConfirmationModal/index.tsx +++ b/src/components/TransactionConfirmationModal/index.tsx @@ -110,7 +110,7 @@ function TransactionSubmittedContent({ onDismiss, .catch(() => setSuccess(false)); }, [connector, logoURL, token]); - const explorerText = chainId === ChainId.MAINNET ? t`View on Etherscan` : t`View on Block Explorer`; + const explorerText = chainId === ChainId.MAINNET ? t`View on Starkscan` : t`View on Block Explorer`; return ( diff --git a/src/nft/components/collection/TransactionCompleteModal.tsx b/src/nft/components/collection/TransactionCompleteModal.tsx index cc8b8fb5..8a21c39c 100644 --- a/src/nft/components/collection/TransactionCompleteModal.tsx +++ b/src/nft/components/collection/TransactionCompleteModal.tsx @@ -172,7 +172,7 @@ const TxCompleteModal = () => { - View on Etherscan + View on Starkscan @@ -344,7 +344,7 @@ const TxCompleteModal = () => {

{formatUSDPriceWithCommas(totalUSDRefund)}

- View on Etherscan + View on Starkscan

diff --git a/src/utils/getExplorerLink.ts b/src/utils/getExplorerLink.ts index f53231af..5da37aff 100644 --- a/src/utils/getExplorerLink.ts +++ b/src/utils/getExplorerLink.ts @@ -1,9 +1,9 @@ import { ChainId } from '@uniswap/sdk-core' const BLOCK_EXPLORER_PREFIXES: { [chainId: number]: string } = { - [ChainId.MAINNET]: 'https://etherscan.io', - [ChainId.GOERLI]: 'https://goerli.etherscan.io', - [ChainId.SEPOLIA]: 'https://sepolia.etherscan.io', + [ChainId.MAINNET]: 'https://starkscan.co', + [ChainId.GOERLI]: 'https://testnet.starkscan.co', + [ChainId.SEPOLIA]: 'https://sepolia.starkscan.co', [ChainId.OPTIMISM]: 'https://optimistic.etherscan.io', [ChainId.OPTIMISM_GOERLI]: 'https://goerli-optimism.etherscan.io', [ChainId.POLYGON]: 'https://polygonscan.com', @@ -57,7 +57,7 @@ export function getExplorerLink(chainId: number, data: string, type: ExplorerDat } } - const prefix = BLOCK_EXPLORER_PREFIXES[chainId] ?? 'https://etherscan.io' + const prefix = BLOCK_EXPLORER_PREFIXES[chainId] ?? 'https://starkscan.co/' switch (type) { case ExplorerDataType.TRANSACTION: