Files
zeekay 08cddc0fcb brand: remove all Blockscout branding, replace with Lux Explorer
- Gas tracker FAQ: Blockscout → Lux Explorer
- Chain config web3/chains.ts: explorer name → Lux Explorer
- Auth screens: Blockscout account → Lux account
- Contract verification: Blockscout supports → Lux Explorer supports
- API docs: Blockscout core API → Lux Explorer Core API
- Rewards/merits: Blockscout Merits → Lux Explorer Rewards
- Marketplace disclaimer and integration icons
- Address verification: [email protected] → [email protected]
- Chart export filenames: Blockscout chart/stats → Lux Explorer
- OTEL service name: blockscout_frontend → lux_explorer_frontend
- Dev container: blockscout dev → lux explorer dev
2026-02-27 22:17:37 -08:00

14 lines
332 B
TypeScript

export default function getApiVersionUrl(version: string | undefined): string | undefined {
if (!version) {
return;
}
const [ tag, commit ] = version.split('.+commit.');
if (commit) {
return `https://github.com/luxfi/explorer/commit/${ commit }`;
}
return `https://github.com/luxfi/explorer/tree/${ tag }`;
}