Act 3: Enabling verification
In this act, you’ll make hardhat verification configurable. This is important so that you can create staging environments from CLI on your local machine.
Configure hardhat
Configure environment variables
- From
packages/tenderly/.env
copy the 3 values and append them topackages/hardhat/.env
cat packages/tenderly/.env >> packages/hardhat/.env
Enable automatic verification
To enable automatic verification of contracts in Hardhat, add the following config to /packages/hardhat/.env
:
TENDERLY_AUTOMATIC_VERIFICATIONS=true