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
60 changes: 60 additions & 0 deletions apps/chain-landing/public/chain-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"$schema": "https://chainagnostic.org/chain-meta/v1.json",
"name": "Sentrix Testnet",
"chain": "SRX",
"chainId": 7120,
"networkId": 7120,
"shortName": "srx-testnet",
"infoURL": "https://sentrixchain.com",
"nativeCurrency": {
"name": "Sentrix Testnet",
"symbol": "tSRX",
"decimals": 18
},
"rpc": [
{
"url": "https://testnet-rpc.sentrixchain.com",
"tracking": "limited",
"isOpenSource": false
}
],
"ws": [
{
"url": "wss://testnet-rpc.sentrixchain.com/ws"
}
],
"explorers": [
{
"name": "Sentrix Scan Testnet",
"url": "https://scan.sentrixchain.com",
"standard": "EIP3091"
}
],
"faucets": [
"https://faucet.sentrixchain.com"
],
"features": [
{ "name": "EIP-1559" },
{ "name": "EIP-3091" }
],
"consensus": "DPoS+BFT",
"blockTime": 1,
"finality": {
"kind": "single-slot",
"supermajorityThreshold": "2/3+1",
"expectedSeconds": 1
},
"canonicalContracts": {
"WSRX": "0x85d5E7694AF31C2Edd0a7e66b7c6c92C59fF949A",
"Multicall3": "0x7900826De548425c6BE56caEbD4760AB0155Cd54",
"TokenFactory": "0x7A2992af0d4979aDD076347666023d66d29276Fc",
"SentrixSafe": "0xc9D7a61D7C2F428F6A055916488041fD00532110"
},
"verifier": {
"name": "Sourcify",
"url": "https://verify.sentrixchain.com",
"selfHosted": true
},
"documentation": "https://sentrixchain.com/docs",
"brand": "https://github.com/sentrix-labs/brand-kit"
}
64 changes: 64 additions & 0 deletions apps/chain-landing/public/chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"$schema": "https://chainagnostic.org/chain-meta/v1.json",
"name": "Sentrix Mainnet",
"chain": "SRX",
"chainId": 7119,
"networkId": 7119,
"shortName": "srx",
"infoURL": "https://sentrixchain.com",
"nativeCurrency": {
"name": "Sentrix",
"symbol": "SRX",
"decimals": 18
},
"rpc": [
{
"url": "https://rpc.sentrixchain.com",
"tracking": "limited",
"isOpenSource": false
}
],
"ws": [
{
"url": "wss://rpc.sentrixchain.com/ws"
}
],
"explorers": [
{
"name": "Sentrix Scan",
"url": "https://scan.sentrixchain.com",
"standard": "EIP3091"
},
{
"name": "Blockscout",
"url": "https://blockscout.sentrixchain.com",
"standard": "EIP3091"
}
],
"faucets": [],
"features": [
{ "name": "EIP-1559" },
{ "name": "EIP-3091" }
],
"consensus": "DPoS+BFT",
"blockTime": 1,
"finality": {
"kind": "single-slot",
"supermajorityThreshold": "2/3+1",
"expectedSeconds": 1
},
"canonicalContracts": {
"WSRX": "0x4693b113e523A196d9579333c4ab8358e2656553",
"Multicall3": "0xFd4b34b5763f54a580a0d9f7997A2A993ef9ceE9",
"TokenFactory": "0xc753199b723649ab92c6db8A45F158921CFDEe49",
"SentrixSafe": "0x6272dC0C842F05542f9fF7B5443E93C0642a3b26"
},
"verifier": {
"name": "Sourcify",
"url": "https://verify.sentrixchain.com",
"selfHosted": true
},
"tokenList": "https://sentrixchain.com/tokenlist.json",
"documentation": "https://sentrixchain.com/docs",
"brand": "https://github.com/sentrix-labs/brand-kit"
}
41 changes: 41 additions & 0 deletions apps/chain-landing/public/tokenlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "Sentrix Canonical",
"logoURI": "https://cdn.jsdelivr.net/gh/sentrix-labs/brand-kit@master/png-transparent/sentrix-labs-256.png",
"keywords": ["sentrix", "srx", "canonical"],
"version": { "major": 1, "minor": 0, "patch": 0 },
"timestamp": "2026-04-30T00:00:00.000Z",
"tokens": [
{
"chainId": 7119,
"address": "0x4693b113e523A196d9579333c4ab8358e2656553",
"name": "Wrapped SRX",
"symbol": "WSRX",
"decimals": 18,
"logoURI": "https://cdn.jsdelivr.net/gh/sentrix-labs/brand-kit@master/png-transparent/sentrix-labs-256.png",
"tags": ["wrapped-native", "canonical"]
},
{
"chainId": 7120,
"address": "0x85d5E7694AF31C2Edd0a7e66b7c6c92C59fF949A",
"name": "Wrapped tSRX",
"symbol": "WtSRX",
"decimals": 18,
"logoURI": "https://cdn.jsdelivr.net/gh/sentrix-labs/brand-kit@master/png-transparent/sentrix-labs-256.png",
"tags": ["wrapped-native", "canonical", "testnet"]
}
],
"tags": {
"wrapped-native": {
"name": "Wrapped Native",
"description": "ERC-20 wrapper around the native SRX coin — backed 1:1 by SRX deposits."
},
"canonical": {
"name": "Canonical",
"description": "Deployed by Sentrix Labs and present in `sentrix-labs/canonical-contracts`."
},
"testnet": {
"name": "Testnet",
"description": "Token lives on chain 7120 (Sentrix Testnet); not transferable to mainnet."
}
}
}
23 changes: 15 additions & 8 deletions apps/scan/app/[locale]/address/[addr]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { formatSRX, formatNumber } from "@/lib/format";
import { Link } from "@/i18n/navigation";
import { useAddressLabel, toneForKind } from "@/lib/labels";
import { AddressNote } from "@/components/common/AddressNote";
import { SourcifyBadge } from "@/components/common/SourcifyBadge";
import { downloadCsv } from "@/lib/csv";
import { toMillis } from "@/lib/format";

Expand Down Expand Up @@ -48,14 +49,20 @@ export default function AddressDetailPage({ params }: { params: Promise<{ addr:
icon={Wallet}
eyebrow="Address"
title={label?.name ?? "Account"}
actions={label ? (() => {
const tone = toneForKind(label.kind);
return (
<span className={`inline-flex items-center text-[10px] font-mono uppercase tracking-[.12em] rounded-md px-2 py-1 border ${tone.bg} ${tone.fg} ${tone.border}`}>
{label.kind}
</span>
);
})() : undefined}
actions={
<div className="flex items-center gap-2">
{label && (() => {
const tone = toneForKind(label.kind);
return (
<span className={`inline-flex items-center text-[10px] font-mono uppercase tracking-[.12em] rounded-md px-2 py-1 border ${tone.bg} ${tone.fg} ${tone.border}`}>
{label.kind}
</span>
);
})()}
{/* Sourcify verification badge — only meaningful for contract addresses, but harmless on EOAs (returns "unverified" badge) */}
<SourcifyBadge network={network} address={addr} />
</div>
}
/>

{/* Address bar */}
Expand Down
Loading