🤔 Got questions? Schedule an office hours session.
Workshops
Build, Stage, Deploy
Act 5: Enabling verification

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 to packages/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