hardhat-openzeppelin-defender

Hardhat plugin openzeppelin defender


Keywords
ethereum, smart-contracts, hardhat, hardhat-plugin, openzeppelin-defender, openzeppelin
License
MIT
Install
npm install hardhat-openzeppelin-defender@1.2.0

Documentation

hardhat-openzeppelin-defender

Task

plugin created with the purpose of efficiently integrating openzeppelin defender modules with hardhat

Installation

yarn add --dev hardhat-openzeppelin-defender

or

npm install --save hardhat-openzeppelin-defender

Import the plugin in your hardhat.config.js:

require("hardhat-openzeppelin-defender");

Or if you are using TypeScript, in your hardhat.config.ts:

import "hardhat-openzeppelin-defender";

Environment extensions

This plugin extends the Hardhat Runtime Environment by adding an OpenzeppelinDefender which contains all the modules of openzepelin defender

import { OpenzeppelinDefender } from "hardhat";;

Configuration

put the administration credentials of your openzeppelin defender OpenzeppelinDefenderCredential

module.exports = {
  OpenzeppelinDefenderCredential: {
    apiKey: API_KEY,
    apiSecret: API_SECRETE,
  }
};