Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/landing/.env.example
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions apps/scan/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
22 changes: 11 additions & 11 deletions apps/scan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand All @@ -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
```
Loading