Skip to content

Sentriscloud/explorer-blockscout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

explorer-blockscout

Self-hosted Blockscout deployment for Sentrix Chain mainnet (chain ID 7119).

Production URL: https://blockscout.sentrixchain.com

This is the EVM-standard explorer (Blockscout v8.0.2). For native TokenOps + validator-specific UX, use the custom scan.sentrixchain.com.

Architecture

Cloudflare proxy
    │
    ▼
Caddy (TLS termination, /etc/ssl/cloudflare-origin.*)
    │
    ▼
nginx proxy (127.0.0.1:8181 → backend:4000 + frontend:3000)
    │
    ├── backend (Elixir/Erlang, indexer + REST + WebSocket)
    ├── frontend (Next.js)
    ├── smart-contract-verifier (Rust microservice)
    ├── sig-provider (4byte signature lookup)
    ├── postgres 17 (chain index)
    └── redis (session/cache)

Indexer points at https://rpc.sentrixchain.com. Internal trace methods (debug_traceTransaction, trace_block) are NOT exposed by Sentrix — INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER=true is set accordingly.

Deploy

# Clone upstream blockscout source as a sibling (provides services/*.yml that this compose extends)
git clone --depth 1 https://github.com/blockscout/blockscout.git ../src

cd .  # this repo
docker compose up -d
docker compose logs -f backend  # initial migrate + index from h=0

Sentrix-specific config

Variable Value Why
CHAIN_ID 7119 Mainnet chain id (testnet 7120 deploys separately)
COIN / COIN_NAME SRX Native coin
DECIMAL 8 Sentrix native uses 8 decimals (1 SRX = 100,000,000 sentri)
INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER true Sentrix RPC has no debug_* / trace_* methods
DISABLE_EXCHANGE_RATES / DISABLE_MARKET true No CG/CMC listing yet
MICROSERVICE_SC_VERIFIER_* wired Built-in source verification

Custom scan vs Blockscout

Feature scan.sentrixchain.com (custom) blockscout.sentrixchain.com
Native TokenOp events ❌ EVM-only
Native StakingOp events
Validator pages (rewards, blocks)
EVM tx + receipts
ERC-20 transfers + holders basic ✅ rich UX
Contract source verification external (Sourcify) built-in
WebSocket subscriptions sentrix_* channels ✅ standard eth_*
Standard EIP-3091 explorer URLs

Both are first-class. Wallets / explorers picking via chains.json get the URL that matches their UX expectations.

About

Self-hosted Blockscout deployment for Sentrix Chain (chain 7119) — EVM-standard explorer at blockscout.sentrixchain.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors