Skip to content

Commit 7a71620

Browse files
committed
docs: scrub stale scan + RPC subdomain refs
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.
1 parent c4e24b1 commit 7a71620

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

apps/landing/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sentrix Chain mainnet RPC — used by Stats section to fetch live block data.
22
# Defaults to the public production endpoint if unset.
3-
NEXT_PUBLIC_MAINNET_RPC=https://sentrix-rpc.sentriscloud.com/rpc
3+
NEXT_PUBLIC_MAINNET_RPC=https://rpc.sentrixchain.com
44
NEXT_PUBLIC_MAINNET_CHAIN_ID=7119

apps/scan/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
# ── Chain endpoints (public) ────────────────────────────────────────────────
1515
# Mainnet
1616
NEXT_PUBLIC_MAINNET_CHAIN_ID=7119
17-
NEXT_PUBLIC_MAINNET_RPC=https://rpc.sentrixchain.com/rpc
17+
NEXT_PUBLIC_MAINNET_RPC=https://rpc.sentrixchain.com
1818
NEXT_PUBLIC_MAINNET_API=https://api.sentrixchain.com
1919

2020
# Testnet
2121
NEXT_PUBLIC_TESTNET_CHAIN_ID=7120
22-
NEXT_PUBLIC_TESTNET_RPC=https://testnet-rpc.sentrixchain.com/rpc
22+
NEXT_PUBLIC_TESTNET_RPC=https://testnet-rpc.sentrixchain.com
2323
NEXT_PUBLIC_TESTNET_API=https://testnet-api.sentrixchain.com
2424

2525
# Which network users land on by default (mainnet | testnet).

apps/scan/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ Open http://localhost:3000
7272

7373
| Variable | Description | Default |
7474
|---|---|---|
75-
| NEXT_PUBLIC_MAINNET_RPC | Mainnet JSON-RPC | sentrix-rpc.sentriscloud.com/rpc |
76-
| NEXT_PUBLIC_MAINNET_API | Mainnet REST API | sentrix-api.sentriscloud.com |
75+
| NEXT_PUBLIC_MAINNET_RPC | Mainnet JSON-RPC | https://rpc.sentrixchain.com |
76+
| NEXT_PUBLIC_MAINNET_API | Mainnet REST API | https://api.sentrixchain.com |
7777
| NEXT_PUBLIC_MAINNET_CHAIN_ID | Mainnet chain ID | 7119 |
78-
| NEXT_PUBLIC_TESTNET_RPC | Testnet JSON-RPC | testnet-rpc.sentriscloud.com/rpc |
79-
| NEXT_PUBLIC_TESTNET_API | Testnet REST API | testnet-api.sentriscloud.com |
78+
| NEXT_PUBLIC_TESTNET_RPC | Testnet JSON-RPC | https://testnet-rpc.sentrixchain.com |
79+
| NEXT_PUBLIC_TESTNET_API | Testnet REST API | https://testnet-api.sentrixchain.com |
8080
| NEXT_PUBLIC_TESTNET_CHAIN_ID | Testnet chain ID | 7120 |
8181
| NEXT_PUBLIC_DEFAULT_NETWORK | Default network | mainnet |
8282

@@ -90,14 +90,14 @@ pnpm build
9090

9191
### Systemd
9292

93-
```
94-
Port 3006 (mainnet), Port 3007 (testnet)
95-
HOSTNAME=127.0.0.1 (bind localhost only, Nginx reverse proxy)
96-
```
93+
A single `sentrix-scan.service` runs `pnpm start` from this directory on
94+
port 3005. Both networks are served by the same process; the network is
95+
selected per-request via the cookie / `?network=` query / dedicated
96+
subdomain (Caddy routes both subdomains to the same upstream).
9797

98-
### Nginx
98+
### Caddy
9999

100100
```
101-
sentrixscan.sentriscloud.com → 127.0.0.1:3006
102-
testnet-scan.sentriscloud.com → 127.0.0.1:3007
101+
scan.sentrixchain.com → 127.0.0.1:3005
102+
scan-testnet.sentrixchain.com → 127.0.0.1:3005
103103
```

0 commit comments

Comments
 (0)