Files
proxmox/docs/04-configuration/EXPLORER_WALLET_LINK_QUICK_WIN.md
defiQUG e4c9dda0fd
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
chore: update submodule references and documentation
- Marked submodules ai-mcp-pmm-controller, explorer-monorepo, and smom-dbis-138 as dirty to reflect recent changes.
- Updated documentation to clarify operator script usage, including dotenv loading and task execution instructions.
- Enhanced the README and various index files to provide clearer navigation and task completion guidance.

Made-with: Cursor
2026-03-04 02:03:08 -08:00

2.5 KiB

Explorer "Wallet" Link — Quick Win Runbook

Purpose: Add a Wallet link to the Blockscout/explorer navbar so users can reach the wallet page (e.g. https://explorer.d-bis.org/wallet).
Effort: ~15 minutes.
Prerequisite: SSH access to the explorer VM (e.g. VMID 5000).


If the explorer uses a Blockscout frontend with a configurable nav:

  1. SSH to the explorer host:
    ssh user@explorer-host   # or pct exec if container
    
  2. Locate the frontend config or template that defines the navbar (e.g. env NAV_LINKS, or a template under the Blockscout app).
  3. Add a Wallet entry. Example (env-style):
    # If NAV_LINKS or similar is JSON:
    # Add {"label":"Wallet","href":"/wallet"} to the links array
    
  4. Restart the frontend service if required; reload the site.

Option B: Static HTML / proxy landing page

If the explorer is served by Nginx with a static landing page (e.g. /var/www/html/index.html):

  1. SSH to the host that serves the explorer (e.g. VMID 5000 or the NPMplus/proxy host).
  2. Find the main HTML file. Common paths:
    • /var/www/html/index.html
    • Nginx root for the explorer vhost
  3. Open the file and locate the navigation section (e.g. <nav>, <header>, or a div with nav links).
  4. Add the Wallet link next to existing nav items:
    <a href="/wallet">Wallet</a>
    
    Example in context:
    <nav>
      <a href="/">Explorer</a>
      <a href="/wallet">Wallet</a>
      <!-- other links -->
    </nav>
    
  5. Save and reload https://explorer.d-bis.org — the Wallet link should appear.

Option C: One-liner (when you know the exact file)

If the nav is in a single file and you can edit it:

# After SSH to explorer host — backup then append or sed (adjust path and nav structure)
sudo cp /var/www/html/index.html /var/www/html/index.html.bak
# Then edit manually, or use sed only if the structure is known and stable:
# sudo sed -i 's|</nav>|  <a href="/wallet">Wallet</a>\n</nav>|' /var/www/html/index.html

Prefer manual edit when the HTML structure is not uniform.


Verify

  • Open https://explorer.d-bis.org (or your explorer URL).
  • Confirm "Wallet" appears in the navbar.
  • Click it and confirm the wallet page loads (e.g. MetaMask chain-add / token list).

References