diff --git a/apps/airdrop/src/lib/chain.ts b/apps/airdrop/src/lib/chain.ts index 7f2a462..5b7bfb2 100644 --- a/apps/airdrop/src/lib/chain.ts +++ b/apps/airdrop/src/lib/chain.ts @@ -5,7 +5,7 @@ import type { Chain } from "viem"; export const SENTRIX_MAINNET = { id: 7119, - name: "Sentrix", + name: "Sentrix Chain", nativeCurrency: { name: "Sentrix", symbol: "SRX", decimals: 18 }, rpcUrls: { default: { http: ["https://rpc.sentrixchain.com"] }, diff --git a/apps/chain-landing/public/chain-testnet.json b/apps/chain-landing/public/chain-testnet.json index 4ffbf11..c15b5ca 100644 --- a/apps/chain-landing/public/chain-testnet.json +++ b/apps/chain-landing/public/chain-testnet.json @@ -7,8 +7,8 @@ "shortName": "srx-testnet", "infoURL": "https://sentrixchain.com", "nativeCurrency": { - "name": "Sentrix Testnet", - "symbol": "tSRX", + "name": "Sentrix", + "symbol": "SRX", "decimals": 18 }, "rpc": [ @@ -26,7 +26,7 @@ "explorers": [ { "name": "Sentrix Scan Testnet", - "url": "https://scan.sentrixchain.com", + "url": "https://scan-testnet.sentrixchain.com", "standard": "EIP3091" } ], diff --git a/apps/chain-landing/public/chain.json b/apps/chain-landing/public/chain.json index c3410cc..038670f 100644 --- a/apps/chain-landing/public/chain.json +++ b/apps/chain-landing/public/chain.json @@ -1,6 +1,6 @@ { "$schema": "https://chainagnostic.org/chain-meta/v1.json", - "name": "Sentrix Mainnet", + "name": "Sentrix Chain", "chain": "SRX", "chainId": 7119, "networkId": 7119, @@ -28,11 +28,6 @@ "name": "Sentrix Scan", "url": "https://scan.sentrixchain.com", "standard": "EIP3091" - }, - { - "name": "Blockscout", - "url": "https://blockscout.sentrixchain.com", - "standard": "EIP3091" } ], "faucets": [], diff --git a/apps/chain-landing/src/components/ui/add-to-wallet-button.tsx b/apps/chain-landing/src/components/ui/add-to-wallet-button.tsx index 54e4542..4f2ab19 100644 --- a/apps/chain-landing/src/components/ui/add-to-wallet-button.tsx +++ b/apps/chain-landing/src/components/ui/add-to-wallet-button.tsx @@ -115,7 +115,7 @@ export function AddToWalletButton({ export const SENTRIX_MAINNET_ADD_PARAMS: ChainParams = { chainId: "0x1bcf", chainName: "Sentrix Chain", - nativeCurrency: { name: "SRX", symbol: "SRX", decimals: 18 }, + nativeCurrency: { name: "Sentrix", symbol: "SRX", decimals: 18 }, rpcUrls: ["https://rpc.sentrixchain.com"], blockExplorerUrls: ["https://scan.sentrixchain.com"], }; @@ -123,7 +123,7 @@ export const SENTRIX_MAINNET_ADD_PARAMS: ChainParams = { export const SENTRIX_TESTNET_ADD_PARAMS: ChainParams = { chainId: "0x1bd0", chainName: "Sentrix Testnet", - nativeCurrency: { name: "SRX", symbol: "SRX", decimals: 18 }, + nativeCurrency: { name: "Sentrix", symbol: "SRX", decimals: 18 }, rpcUrls: ["https://testnet-rpc.sentrixchain.com"], - blockExplorerUrls: ["https://scan.sentrixchain.com"], + blockExplorerUrls: ["https://scan-testnet.sentrixchain.com"], }; diff --git a/apps/coinblast/src/app/create/page.tsx b/apps/coinblast/src/app/create/page.tsx index a272b47..51e92fd 100644 --- a/apps/coinblast/src/app/create/page.tsx +++ b/apps/coinblast/src/app/create/page.tsx @@ -38,7 +38,7 @@ interface FormData { // query at the end of the URL via the helper below. const NETWORKS = { 7119: { - label: 'Sentrix Mainnet', + label: 'Sentrix Chain', explorerBase: 'https://scan.sentrixchain.com', explorerQuery: '', feeRecipient: '0xeb70fdefd00fdb768dec06c478f450c351499f14' as `0x${string}`, diff --git a/apps/coinblast/src/lib/chain.ts b/apps/coinblast/src/lib/chain.ts index 217c6e9..06940d5 100644 --- a/apps/coinblast/src/lib/chain.ts +++ b/apps/coinblast/src/lib/chain.ts @@ -14,7 +14,7 @@ export const SENTRIX_CHAIN_PARAMS = { // eth_getBalance / msg.value / wei conventions all work normally). decimals: 18, }, - rpcUrls: [process.env.NEXT_PUBLIC_RPC_URL ?? 'https://rpc.sentrixchain.com/rpc'], + rpcUrls: [process.env.NEXT_PUBLIC_RPC_URL ?? 'https://rpc.sentrixchain.com'], blockExplorerUrls: [ process.env.NEXT_PUBLIC_EXPLORER_URL ?? 'https://scan.sentrixchain.com', ], @@ -23,7 +23,7 @@ export const SENTRIX_CHAIN_PARAMS = { /** Read-only provider — for fetching balances, chain info, etc. */ export function getReadProvider(): ethers.JsonRpcProvider { return new ethers.JsonRpcProvider( - process.env.NEXT_PUBLIC_RPC_URL ?? 'https://rpc.sentrixchain.com/rpc' + process.env.NEXT_PUBLIC_RPC_URL ?? 'https://rpc.sentrixchain.com' ) } diff --git a/apps/coinblast/src/lib/ws.ts b/apps/coinblast/src/lib/ws.ts index 2da538b..f2fea50 100644 --- a/apps/coinblast/src/lib/ws.ts +++ b/apps/coinblast/src/lib/ws.ts @@ -150,10 +150,10 @@ function getClient(url: string): WSClient { function defaultWsUrl(): string { // NEXT_PUBLIC_RPC_URL on coinblast points at the JSON-RPC HTTP host - // (https://rpc.sentrixchain.com/rpc). Convert to the ws subdomain on + // (https://rpc.sentrixchain.com). Convert to the ws subdomain on // the API host: wss://api.sentrixchain.com/ws. Both endpoints are // load-balanced across the same validator set. - const rpc = process.env.NEXT_PUBLIC_RPC_URL ?? "https://rpc.sentrixchain.com/rpc"; + const rpc = process.env.NEXT_PUBLIC_RPC_URL ?? "https://rpc.sentrixchain.com"; try { const u = new URL(rpc); const host = u.host diff --git a/apps/landing/components/sections/developers.tsx b/apps/landing/components/sections/developers.tsx index 705ea5c..f6c5987 100644 --- a/apps/landing/components/sections/developers.tsx +++ b/apps/landing/components/sections/developers.tsx @@ -25,7 +25,7 @@ const repos = [ ]; const codeSample = `# Latest block from Sentrix Chain mainnet -curl https://rpc.sentrixchain.com/rpc \\ +curl https://rpc.sentrixchain.com \\ -H 'content-type: application/json' \\ -d '{ "jsonrpc": "2.0", diff --git a/apps/landing/lib/chain.ts b/apps/landing/lib/chain.ts index b60c495..19c3aa6 100644 --- a/apps/landing/lib/chain.ts +++ b/apps/landing/lib/chain.ts @@ -1,6 +1,6 @@ import { createPublicClient, http, type Chain } from "viem"; -const MAINNET_RPC = process.env.NEXT_PUBLIC_MAINNET_RPC ?? "https://rpc.sentrixchain.com/rpc"; +const MAINNET_RPC = process.env.NEXT_PUBLIC_MAINNET_RPC ?? "https://rpc.sentrixchain.com"; const MAINNET_CHAIN_ID = Number(process.env.NEXT_PUBLIC_MAINNET_CHAIN_ID ?? 7119); export const sentrixMainnet: Chain = { diff --git a/apps/scan/lib/chain.ts b/apps/scan/lib/chain.ts index 6e4b4d1..cc3c69d 100644 --- a/apps/scan/lib/chain.ts +++ b/apps/scan/lib/chain.ts @@ -2,7 +2,7 @@ import { defineChain, createPublicClient, http } from "viem"; export const sentrixMainnet = defineChain({ id: Number(process.env.NEXT_PUBLIC_MAINNET_CHAIN_ID) || 7119, - name: "Sentrix Mainnet", + name: "Sentrix Chain", // 18 decimals — Sentrix EVM (post-Voyager) follows the standard wei // convention. The 8-decimal "sentri" sub-unit only applies at the REST // API layer (api.ts converts at the edge); EVM RPC + wallet integrations @@ -10,7 +10,7 @@ export const sentrixMainnet = defineChain({ nativeCurrency: { name: "Sentrix", symbol: "SRX", decimals: 18 }, rpcUrls: { default: { - http: [process.env.NEXT_PUBLIC_MAINNET_RPC || "https://rpc.sentrixchain.com/rpc"], + http: [process.env.NEXT_PUBLIC_MAINNET_RPC || "https://rpc.sentrixchain.com"], }, }, blockExplorers: { @@ -28,7 +28,7 @@ export const sentrixTestnet = defineChain({ nativeCurrency: { name: "Sentrix", symbol: "SRX", decimals: 18 }, rpcUrls: { default: { - http: [process.env.NEXT_PUBLIC_TESTNET_RPC || "https://testnet-rpc.sentrixchain.com/rpc"], + http: [process.env.NEXT_PUBLIC_TESTNET_RPC || "https://testnet-rpc.sentrixchain.com"], }, }, blockExplorers: { diff --git a/apps/solux/src/components/NetworkHealth.tsx b/apps/solux/src/components/NetworkHealth.tsx index 4584326..4f72bff 100644 --- a/apps/solux/src/components/NetworkHealth.tsx +++ b/apps/solux/src/components/NetworkHealth.tsx @@ -119,7 +119,7 @@ export default function NetworkHealth() { onClick={() => setShowDetail(false)} />