Hardhat helpers
This package contains a bunch of convenience helpers that can be used accross various hardhat project to add various tasks, parse networks file, verification APis, etc.
Usage
const { networks, etherscan } = require('@unlock-protocol/hardhat-helpers')
module.exports = {
networks,
etherscan,
}
CLI tasks
Importing the package will provide a bunch of cli tasks
yarn hardhat config
yarn hardhat config --json
Verification
You need to export the API keys in your env for it to work properly
ETHERSCAN_API_KEY
POLYGONSCAN_API_KEY
BSCSCAN_API_KEY
OPTIMISTIC_ETHERSCAN_API_KEY
ARBISCAN_API_KEY
CELO_API_KEY
SNOWTRACE_API_KEY