@matterlabs/hardhat-zksync-verify
Version:
Hardhat plugin to verify smart contracts for the ZKsync network
22 lines (20 loc) • 674 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZksyncMissingApiKeyError = void 0;
const errors_1 = require("../../errors");
class ZksyncMissingApiKeyError extends errors_1.ZkSyncVerifyPluginError {
constructor(network) {
super(`You are trying to verify a contract in '${network}', but no API token was found for this network. Please provide one in your hardhat config. For example:
{
...
etherscan: {
apiKey: {
${network}: 'your API key'
}
}
}
See https://etherscan.io/apis`);
}
}
exports.ZksyncMissingApiKeyError = ZksyncMissingApiKeyError;
//# sourceMappingURL=errors.js.map