blog

Smart Contract Verification: Sourcify.dev Now Supported

May 20, 2026
Luke Forrest
Luke Forrest

Developer Relations Engineer

Hedera Mainnet and Testnet are now supported on the main Sourcify instance at sourcify.dev, the same decentralized, open-source verification service used by many EVM chains. Developers deploying smart contracts on Hedera can verify them using standard tooling with no custom plugins or Hedera-specific configuration required. Existing verification workflows will continue to work uninterrupted.

What This Means for Hedera Developers

Hedera Mainnet (chain ID 295) and Testnet (chain ID 296) are now listed as supported chains on sourcify.dev. Standard EVM developer tooling works for Hedera contract verification without modification. Any smart contract verified on Sourcify will be shown as verified on Hash-Scan.

Hardhat – the standard @nomicfoundation/hardhat-verify plugin works with Hedera, using the default Sourcify verifier.


code window background

npx hardhat verify --network hedera_testnet 

Foundry – forge verify-contract works with the default Sourcify verifier, with no custom verifier URL required.


code window background

forge verify-contract $CONTRACT_ADDRESS src/MyContract.sol:MyContract \
    --chain-id 296 \
    --verifier sourcify

Remix IDE – the built-in Sourcify verification integration works for Hedera contracts with no additional configuration.

Direct API – Sourcify’s REST API supports Hedera chains for programmatic verification, enabling CI/CD integration and automated verification pipelines.


code window background

# Verify a contract on Hedera Mainnet
curl -X POST "https://sourcify.dev/server/v2/verify/295/0xYourContractAddress" \
  -F "files=@MyContract.sol" \
  -F "files=@metadata.json"

# Retrieve verified contract data
curl "https://sourcify.dev/server/v2/contract/295/0xYourContractAddress?fields=all"

What is Sourcify?

Sourcify is a decentralized smart contract source code verification service.It accepts Solidity source code, recompiles it with the original compiler settings, and compares the output against the deployed on-chain bytecode. If the bytecodes match, the contract is verified, and its source code becomes publicly accessible through the Sourcify repository.

Sourcify supports two levels of verification:

  • Exact Match – the recompiled bytecode matches the on-chain bytecode byte-for-byte, including the CBOR-encoded metadata hash. This cryptographically proves that the exact source files and compilation settings were used.
  • Partial Match – the bytecodes are functionally identical but differ in the metadata hash portion, which can change due to differences in comments, variable names, or file paths.

Ecosystem-Wide Visibility

Contracts verified on sourcify.dev are visible across the broader EVM verification ecosystem. Any tool, explorer, or analytics platform that reads from the Sourcify repository, including HashScan can surface verified Hedera contract source code. With main instance support, Hedera contract verifications now participate in the same shared ecosystem alongside many EVM Chains meaning that verifications are seamless as they require no additional configuration to verify deployed contracts on Hedera.

Sourcify also co-leads the Verifier Alliance alongside Blockscout and Routescan, a shared database of verified contracts with over 100,000 entries. As Hedera contracts are verified on the main instance, they become part of this cross-chain verification dataset meaning no custom configuration for builders along with being able to view their verified contracts on any supported chain from one place.

Getting Started

Developers can now verify Hedera smart contracts on the main Sourcify instance today. The verification workflow is identical to other supported EVM chains.

To deploy and verify a smart contract on Hedera using Hardhat or Foundry, follow the step-by-step tutorials in the Hedera documentation:

For direct API access, the Sourcify API documentation and supported chains list are available at docs.sourcify.dev.

Manual verification on Hash-Scan will now redirect you to the main Sourcify instance verification page where you will be able to select Hedera Mainnet (295) or Hedera Testnet (296) to verify your smart contract by uploading the smart contract files for verification. This verification will be reflected on Hash-Scan.

Back to Blog

discover

See more articles

June 9, 2026

Identity in the agentic era

Across regulated industries, digital identity is moving closer to the centre of commercial strategy, shaping onboarding costs, fraud exposure, customer conversion, and cross-border operations. Organisations embedding identity into their core
Read More
June 9, 2026

Hedera Council Welcomes New Strategic and Community Partners

Hedera Council’s partnership program was created to foster collaboration with organizations advancing innovation across the Hedera ecosystem. Through its Strategic and Community Partner tracks, the program brings together industry leaders,
Read More
June 5, 2026

Block Streams replace the Record Stream by default starting September 2026: Action required by Mirror Node operators

Block streams replace record streams as the canonical network output format. Mirror node operators and consumers of record files must deploy v0.155.1 of the hiero-mirror-node, or a later cutover-compatible release,
Read More