Skip to content

Commit 95c7769

Browse files
committed
common: change solana explorer
1 parent e4de6d9 commit 95c7769

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/src/consts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const CHAIN_INFO_MAP: { [key in Environment]: { [key: string]: CHAIN_INFO
191191
evm: false,
192192
chainId: CHAIN_ID_SOLANA,
193193
endpointUrl: process.env.REACT_APP_SOLANA_RPC || 'https://api.mainnet-beta.solana.com',
194-
explorerStem: `https://solscan.io`,
194+
explorerStem: `https://solana.fm`,
195195
},
196196
2: {
197197
name: 'eth',

common/src/explorer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { CHAIN_INFO_MAP, Environment } from './consts';
3636
export const explorerBlock = (network: Environment, chainId: ChainId, block: string) =>
3737
network === 'mainnet'
3838
? chainId === CHAIN_ID_SOLANA
39-
? `https://solscan.io/block/${block}`
39+
? `https://solana.fm/block/${block}`
4040
: chainId === CHAIN_ID_ETH
4141
? `https://etherscan.io/block/${block}`
4242
: chainId === CHAIN_ID_TERRA
@@ -135,7 +135,7 @@ export const explorerBlock = (network: Environment, chainId: ChainId, block: str
135135
export const explorerTx = (network: Environment, chainId: ChainId, tx: string) =>
136136
network === 'mainnet'
137137
? chainId === CHAIN_ID_SOLANA
138-
? `https://solscan.io/account/${tx}`
138+
? `https://solana.fm/tx/${tx}`
139139
: chainId === CHAIN_ID_ETH
140140
? `https://etherscan.io/tx/${tx}`
141141
: chainId === CHAIN_ID_TERRA

0 commit comments

Comments
 (0)