tenderlysegment of Hardhat's configuration has to be extended by setting the
privateVerificationflag and specifying your exact username and the project slug on Tenderly.
tenderlyconfiguration property to your
hardhat.config.tsand paste appropriate values instead of placeholders. There’s no need to change anything in your verification code.
tenderlysection of the Hardhat user configuration consists of:
networks.tenderlyis 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.tsagain. 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.
dotenvpackage to expose System Environment Variables to JS, place your
.envfile. This way, you don’t need to specify them explicitly when running the command as you’ll rarely change these parameters.