From 7a716206bb3436da65098620129630f41360afad Mon Sep 17 00:00:00 2001 From: satyakwok <119509589+satyakwok@users.noreply.github.com> Date: Mon, 11 May 2026 03:26:02 +0200 Subject: [PATCH] docs: scrub stale scan + RPC subdomain refs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V1 scan README + both env files referenced subdomains that no longer resolve (sentrixscan.sentriscloud.com, testnet-scan.sentriscloud.com, sentrix-rpc.sentriscloud.com, sentrix-api.sentriscloud.com — all 000 on probe). Same drift in apps/landing/.env.example. Canonical subdomains (per probe + memory project_chain_naming_canonical): V1 scan mainnet : scan.sentrixchain.com V1 scan testnet : scan-testnet.sentrixchain.com V2 scan mainnet : scan.sentriscloud.com V2 scan testnet : scan-testnet.sentriscloud.com RPC mainnet : rpc.sentrixchain.com (bare, no /rpc suffix) RPC testnet : testnet-rpc.sentrixchain.com (bare) REST mainnet : api.sentrixchain.com REST testnet : testnet-api.sentrixchain.com Also fixes the V1 README "Deploy" section: it claimed nginx + ports 3006/3007 (one process per network), reality is single Caddy upstream on port 3005 serving both subdomains. --- apps/landing/.env.example | 2 +- apps/scan/.env.example | 4 ++-- apps/scan/README.md | 22 +++++++++++----------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/landing/.env.example b/apps/landing/.env.example index 4671c62..2c4940a 100644 --- a/apps/landing/.env.example +++ b/apps/landing/.env.example @@ -1,4 +1,4 @@ # Sentrix Chain mainnet RPC — used by Stats section to fetch live block data. # Defaults to the public production endpoint if unset. -NEXT_PUBLIC_MAINNET_RPC=https://sentrix-rpc.sentriscloud.com/rpc +NEXT_PUBLIC_MAINNET_RPC=https://rpc.sentrixchain.com NEXT_PUBLIC_MAINNET_CHAIN_ID=7119 diff --git a/apps/scan/.env.example b/apps/scan/.env.example index 9489304..93e6947 100644 --- a/apps/scan/.env.example +++ b/apps/scan/.env.example @@ -14,12 +14,12 @@ # ── Chain endpoints (public) ──────────────────────────────────────────────── # Mainnet NEXT_PUBLIC_MAINNET_CHAIN_ID=7119 -NEXT_PUBLIC_MAINNET_RPC=https://rpc.sentrixchain.com/rpc +NEXT_PUBLIC_MAINNET_RPC=https://rpc.sentrixchain.com NEXT_PUBLIC_MAINNET_API=https://api.sentrixchain.com # Testnet NEXT_PUBLIC_TESTNET_CHAIN_ID=7120 -NEXT_PUBLIC_TESTNET_RPC=https://testnet-rpc.sentrixchain.com/rpc +NEXT_PUBLIC_TESTNET_RPC=https://testnet-rpc.sentrixchain.com NEXT_PUBLIC_TESTNET_API=https://testnet-api.sentrixchain.com # Which network users land on by default (mainnet | testnet). diff --git a/apps/scan/README.md b/apps/scan/README.md index ab7921d..7d7fc16 100644 --- a/apps/scan/README.md +++ b/apps/scan/README.md @@ -72,11 +72,11 @@ Open http://localhost:3000 | Variable | Description | Default | |---|---|---| -| NEXT_PUBLIC_MAINNET_RPC | Mainnet JSON-RPC | sentrix-rpc.sentriscloud.com/rpc | -| NEXT_PUBLIC_MAINNET_API | Mainnet REST API | sentrix-api.sentriscloud.com | +| NEXT_PUBLIC_MAINNET_RPC | Mainnet JSON-RPC | https://rpc.sentrixchain.com | +| NEXT_PUBLIC_MAINNET_API | Mainnet REST API | https://api.sentrixchain.com | | NEXT_PUBLIC_MAINNET_CHAIN_ID | Mainnet chain ID | 7119 | -| NEXT_PUBLIC_TESTNET_RPC | Testnet JSON-RPC | testnet-rpc.sentriscloud.com/rpc | -| NEXT_PUBLIC_TESTNET_API | Testnet REST API | testnet-api.sentriscloud.com | +| NEXT_PUBLIC_TESTNET_RPC | Testnet JSON-RPC | https://testnet-rpc.sentrixchain.com | +| NEXT_PUBLIC_TESTNET_API | Testnet REST API | https://testnet-api.sentrixchain.com | | NEXT_PUBLIC_TESTNET_CHAIN_ID | Testnet chain ID | 7120 | | NEXT_PUBLIC_DEFAULT_NETWORK | Default network | mainnet | @@ -90,14 +90,14 @@ pnpm build ### Systemd -``` -Port 3006 (mainnet), Port 3007 (testnet) -HOSTNAME=127.0.0.1 (bind localhost only, Nginx reverse proxy) -``` +A single `sentrix-scan.service` runs `pnpm start` from this directory on +port 3005. Both networks are served by the same process; the network is +selected per-request via the cookie / `?network=` query / dedicated +subdomain (Caddy routes both subdomains to the same upstream). -### Nginx +### Caddy ``` -sentrixscan.sentriscloud.com → 127.0.0.1:3006 -testnet-scan.sentriscloud.com → 127.0.0.1:3007 +scan.sentrixchain.com → 127.0.0.1:3005 +scan-testnet.sentrixchain.com → 127.0.0.1:3005 ```