Sentrix Chain · Source verification

Verify your contracts on Sentrix

Self-hosted Sourcify instance. Submit your Solidity sources + metadata; we recompile, match the bytecode, and the address turns into a "Verified" badge on scan.sentrixchain.com. Foundry and Hardhat both speak this protocol natively.

Supported chains

Mainnet
7119
rpc.sentrixchain.com
Testnet
7120
testnet-rpc.sentrixchain.com

Foundry

# From your project root, after `forge build`:
forge verify-contract \
  --verifier sourcify \
  --verifier-url https://verify.sentrixchain.com \
  --chain 7119 \
  <CONTRACT_ADDRESS> src/MyToken.sol:MyToken

Swap 7119 for 7120 if you're verifying on testnet.

Hardhat

// hardhat.config.ts
import "@nomicfoundation/hardhat-verify";

export default {
  sourcify: {
    enabled: true,
    apiUrl: "https://verify.sentrixchain.com",
    browserUrl: "https://scan.sentrixchain.com",
  },
  networks: {
    sentrix: { url: "https://rpc.sentrixchain.com", chainId: 7119 },
    sentrixTestnet: { url: "https://testnet-rpc.sentrixchain.com", chainId: 7120 },
  },
};
# Run:
npx hardhat verify --network sentrix <CONTRACT_ADDRESS>

Direct API (Sourcify v1)

Full API reference at docs.sourcify.dev — endpoints behave identically to the public instance.

Quick test

# Mainnet (7119) — list its chain config
curl -s https://verify.sentrixchain.com/chains | jq '.[] | select(.chainId == 7119)'

# Look up an already-verified contract
curl -s https://verify.sentrixchain.com/files/contracts/7120/0xc7FBd67fb809b189998cB27F1857b50A3e09619c