Verifying Contracts
Get an Abscan API key
Follow the Abscan documentation to get an API key.
Update Hardhat configuration
Add the below
etherscan configuration object to your Hardhat configuration file.Replace <your-abscan-api-key-here> with your Abscan API key from the previous step.hardhat.config.ts
Constructor Arguments
To verify a contract with constructor arguments, pass the constructor arguments to theverify command after the contract address.