Add Chain 138 wallet network metadata and stats coin-price enrichment; sync frontend explorer SPA, command center, and address/token pages with backend config. Co-authored-by: Cursor <cursoragent@cursor.com>
711 B
711 B
Third-party bundles (optional)
Mermaid (Visual Command Center)
chain138-command-center.html loads Mermaid from /thirdparty/mermaid.min.js first. If the local bundle is missing, the page runtime loads jsDelivr as a fallback.
To vendor Mermaid for offline / CSP-locked hosts:
- From repo root:
bash explorer-monorepo/scripts/vendor-mermaid-for-command-center.sh - Deploy with
deploy-next-frontend-to-vmid5000.sh— it copiesthirdparty/mermaid.min.jswhen the file exists.
Before deploy, refresh bundle metadata:
bash explorer-monorepo/scripts/refresh-chain138-command-center-meta.sh
The minified Mermaid file is gitignored (~3.3 MB); do not commit it.