tenderly
segment of Hardhat's configuration has to be extended by setting the privateVerification
flag and specifying your exact username and the project slug on Tenderly.tenderly
configuration property to your hardhat.config.ts
and paste appropriate values instead of placeholders. There’s no need to change anything in your verification code.tenderly
section of the Hardhat user configuration consists of:false
.--network tenderly
and networks.tenderly
is not specified in the hardhat user config, the plugin creates a Fork in Tenderly based on the given network ID and connects Ethers to that Fork. Optional.hardhat.config.ts
again. To switch between public and private modes on a per-run basis, without hard-coding any specific mode in the project configuration, you need to externalize the configuration.dotenv
package to expose System Environment Variables to JS, place your TENDERLY_USERNAME
and TENDERLY_PROJECT
into the .env
file. This way, you don’t need to specify them explicitly when running the command as you’ll rarely change these parameters.