Use solscan.io as explorer (#93)
This commit is contained in:
parent
5b7d5e3f5e
commit
0169104281
|
@ -10,7 +10,7 @@ const appsAndTokens = apps.concat(
|
|||
TOKEN_MINTS.map((mint) => {
|
||||
return {
|
||||
name: `${mint.name} SPL`,
|
||||
url: `https://explorer.solana.com/address/${mint.address.toBase58()}`,
|
||||
url: `https://solscan.io/address/${mint.address.toBase58()}`,
|
||||
description: `${mint.name} SPL token`,
|
||||
icon: '',
|
||||
tags: [
|
||||
|
|
|
@ -17,7 +17,7 @@ export default function LinkAddress({
|
|||
<Button
|
||||
type="link"
|
||||
icon={<LinkOutlined />}
|
||||
href={'https://explorer.solana.com/address/' + address}
|
||||
href={'https://solscan.io/address/' + address}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
style={{ cursor: 'pointer' }}
|
||||
|
|
|
@ -45,7 +45,7 @@ const EXTERNAL_LINKS = {
|
|||
'/wallet-support': 'https://serum-academy.com/en/wallet-support',
|
||||
'/dex-list': 'https://serum-academy.com/en/dex-list/',
|
||||
'/developer-resources': 'https://serum-academy.com/en/developer-resources/',
|
||||
'/explorer': 'https://explorer.solana.com',
|
||||
'/explorer': 'https://solscan.io',
|
||||
'/srm-faq': 'https://projectserum.com/srm-faq',
|
||||
'/swap': 'https://swap.projectserum.com',
|
||||
};
|
||||
|
|
|
@ -86,7 +86,7 @@ export default function WalletBalancesTable({
|
|||
render: (walletBalance) => (
|
||||
<Row align="middle">
|
||||
<a
|
||||
href={`https://explorer.solana.com/address/${walletBalance.mint}`}
|
||||
href={`https://solscan.io/address/${walletBalance.mint}`}
|
||||
target={'_blank'}
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
|
|
@ -112,7 +112,7 @@ function BalanceItem({ mint, publicKey, isPoolToken }: BalanceItemProps) {
|
|||
<Button
|
||||
type="link"
|
||||
icon={<LinkOutlined />}
|
||||
href={'https://explorer.solana.com/address/' + publicKey.toBase58()}
|
||||
href={'https://solscan.io/address/' + publicKey.toBase58()}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
/>
|
||||
|
|
|
@ -19,7 +19,7 @@ export function notify({
|
|||
description = (
|
||||
<Link
|
||||
external
|
||||
to={'https://explorer.solana.com/tx/' + txid}
|
||||
to={'https://solscan.io/tx/' + txid}
|
||||
style={{ color: '#0000ff' }}
|
||||
>
|
||||
View transaction {txid.slice(0, 8)}...{txid.slice(txid.length - 8)}
|
||||
|
|
Loading…
Reference in New Issue