mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* display main data * display rest of tx fields * placeholder data * always show tabs * manage error and retries on details tab * don't retry if degraded view is active * fix tests * fix tx receipt * change styles and wording for warning * tweaks * gray alert style change and update screenshots * add retries to RPC call * fixes after merge
31 lines
655 B
TypeScript
31 lines
655 B
TypeScript
import type { Chain } from 'wagmi';
|
|
|
|
import config from 'configs/app';
|
|
|
|
const currentChain: Chain = {
|
|
id: Number(config.chain.id),
|
|
name: config.chain.name ?? '',
|
|
network: config.chain.name ?? '',
|
|
nativeCurrency: {
|
|
decimals: config.chain.currency.decimals,
|
|
name: config.chain.currency.name ?? '',
|
|
symbol: config.chain.currency.symbol ?? '',
|
|
},
|
|
rpcUrls: {
|
|
'public': {
|
|
http: [ config.chain.rpcUrl ?? '' ],
|
|
},
|
|
'default': {
|
|
http: [ config.chain.rpcUrl ?? '' ],
|
|
},
|
|
},
|
|
blockExplorers: {
|
|
'default': {
|
|
name: 'Blockscout',
|
|
url: config.app.baseUrl,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default currentChain;
|