Skip to content

tooling: deploy Nemo block explorer on tooling server#145

Merged
ch4r10t33r merged 7 commits intomainfrom
feat/nemo-tooling-explorer
Mar 23, 2026
Merged

tooling: deploy Nemo block explorer on tooling server#145
ch4r10t33r merged 7 commits intomainfrom
feat/nemo-tooling-explorer

Conversation

@ch4r10t33r
Copy link
Contributor

@ch4r10t33r ch4r10t33r commented Mar 23, 2026

Summary

Deploy Nemo (Lean consensus explorer, image 0xpartha/nemo:latest) alongside leanpoint on the tooling server (default 46.225.10.32).

Behaviour

  • LEAN_API_URL: comma-separated http://<ip>:<apiPort> for every validator in validator-config.yaml (via convert-validator-config.py); empty enrFields.ip entries skipped.
  • Fresh DB on each deploy: remote /opt/nemo/data cleared; local <NETWORK_DIR>/data/nemo-data cleared.
  • Ports: Nemo host 5053 vs leanpoint 5555; LEANPOINT_HOST_PORT / NEMO_HOST_PORT + mutual clash checks in sync-leanpoint-upstreams.sh and sync-nemo-tooling.sh.

Files

  • sync-nemo-tooling.sh — new
  • convert-validator-config.py--print-lean-api-url, --write-nemo-env
  • spin-node.sh, parse-env.sh--skip-nemo, call sync after Ansible + local deploy
  • sync-leanpoint-upstreams.shLEANPOINT_HOST_PORT, port clash guard
  • README.md — docs

Note

This work was split out from the subnets branch so subnet/PR #136 scope stays separate.

- Add sync-nemo-tooling.sh: LEAN_API_URL from all validators (apiPort), image
  0xpartha/nemo:latest, fresh SQLite on each deploy (local + remote)
- Extend convert-validator-config.py: --print-lean-api-url, --write-nemo-env
- Wire spin-node.sh / parse-env.sh: --skip-nemo, Ansible + local deploy
- LEANPOINT_HOST_PORT + port clash checks vs NEMO_HOST_PORT in sync scripts
- README: Nemo section and automation bullet
@ch4r10t33r ch4r10t33r force-pushed the feat/nemo-tooling-explorer branch from 26be926 to 0ab3f6b Compare March 23, 2026 07:26
Resolve parse-env.sh: keep skipNemo echo (Nemo) and dryRun echo (main).
@ch4r10t33r ch4r10t33r marked this pull request as ready for review March 23, 2026 12:10
Ensure registry :latest (or NEMO_IMAGE) is refreshed on local and tooling
deploys; document in README.
@ch4r10t33r ch4r10t33r merged commit 849e619 into main Mar 23, 2026
4 checks passed
@ch4r10t33r ch4r10t33r deleted the feat/nemo-tooling-explorer branch March 23, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants