Use solscan.io as explorer (#93)

This commit is contained in:
NguyenNguyen 2021-06-21 23:06:03 +07:00 committed by GitHub
parent 5b7d5e3f5e
commit 0169104281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -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: [

View File

@ -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' }}

View File

@ -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',
};

View File

@ -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"
>

View File

@ -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"
/>

View File

@ -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)}