🤔 Got questions? Schedule an office hours session.
Contract Verification

FAQ: Contract Verification

I verified my contract publicly but want it to be private. Can I remove the public verification of the contract?


To revert your contract back to private and visible only within your project, please contact our support team via the or support@tenderly.co. Make sure to provide your username, project, and contract address. Our team will then delete the public verification for the specified contract.

How do I privately verify contracts from public networks (Mainnet, Holesky, etc.) in Tenderly?


Private verification means that contracts will be visible only to Tenderly users who have access to your project.

  • When verifying with hardhat, it’s necessary to set the config.tenderly.private flag in hardhat.config.ts . Contracts will be verified publicly unless you specify this flag.
  • When verifying with Foundry, the Verifier URL should end with /public:
    ## private verification URL
    https://api.tenderly.co/api/v1/account/me/project/project/etherscan/verify/network/8253
     
    ## public verification URL
    https://api.tenderly.co/api/v1/account/me/project/project/etherscan/verify/network/8253/public

If I publicly verify a contract on Tenderly, will it still be visible after I delete it from my contracts?


Yes, publicly verified contracts remain visible even after you delete them from your list of contracts. To ensure your contracts are visible only within your project, you can use private verification instead. Learn more about different verification types and the verification process.

How can I verify contracts with hardhat-ignition?


Deploy using hardhat ignition deploy and be sure to add --deployment-id with a specific value when running the command.

TENDERLY_AUTOMATIC_VERIFICATION=true \
npx hardhat ignition deploy ./ignition/modules/Lock.ts \
    --network virtual_base \
    --deployment-id deploy-to-virtual-base