feat(explorer): dual-chain wallet metadata, native coin pricing, and UI refresh.
Some checks failed
Deploy Explorer Live / deploy (push) Failing after 20s
Validate Explorer / frontend (push) Failing after 24s
Validate Explorer / smoke-e2e (push) Has been skipped

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>
This commit is contained in:
defiQUG
2026-06-19 16:16:17 -07:00
parent 0f02e6e54f
commit b87ebee6a1
94 changed files with 7648 additions and 1124 deletions

View File

@@ -31,16 +31,32 @@ fi
EXEC_PREFIX="pct exec $VMID --"
MAINTAIN_SCRIPT="/usr/local/bin/explorer-maintain.sh"
SYNC_DB_SCRIPT="/usr/local/bin/sync-explorer-config-api-database-url.sh"
SYNC_SRC="$REPO_ROOT/scripts/sync-explorer-config-api-database-url.sh"
NGINX_ENSURE_SRC="$SCRIPT_DIR/ensure-explorer-nginx-next-routes.sh"
NGINX_ENSURE_SCRIPT="/usr/local/bin/ensure-explorer-nginx-next-routes.sh"
echo "=============================================="
echo "Install explorer maintenance cron (VMID $VMID)"
echo "=============================================="
# Copy script into VM
# Copy scripts into VM
pct push $VMID "$SCRIPT_DIR/explorer-maintain.sh" "$MAINTAIN_SCRIPT"
$EXEC_PREFIX chmod +x "$MAINTAIN_SCRIPT"
echo "✅ Installed $MAINTAIN_SCRIPT"
if [ -f "$SYNC_SRC" ]; then
pct push $VMID "$SYNC_SRC" "$SYNC_DB_SCRIPT"
$EXEC_PREFIX chmod +x "$SYNC_DB_SCRIPT"
echo "✅ Installed $SYNC_DB_SCRIPT"
fi
if [ -f "$NGINX_ENSURE_SRC" ]; then
pct push $VMID "$NGINX_ENSURE_SRC" "$NGINX_ENSURE_SCRIPT"
$EXEC_PREFIX chmod +x "$NGINX_ENSURE_SCRIPT"
echo "✅ Installed $NGINX_ENSURE_SCRIPT"
fi
# Install crontab (append to existing)
$EXEC_PREFIX bash -c '(crontab -l 2>/dev/null | grep -v explorer-maintain | grep -v /usr/local/bin/explorer-maintain.sh || true; echo "# explorer-maintain"; echo "*/5 * * * * /usr/local/bin/explorer-maintain.sh >> /var/log/explorer-maintain.log 2>&1"; echo "15 3 * * * RUN_PRUNE=1 /usr/local/bin/explorer-maintain.sh >> /var/log/explorer-maintain.log 2>&1") | crontab -'
echo "✅ Cron installed:"