@randombits/hardhat-deploy
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

hardhat-deploy

A Hardhat plugin to deploy using Random Bits Smart Contract Deployer

Hardhat plugin example.

What

<A longer, one paragraph, description of the plugin>

This plugin will help you with world domination by implementing a simple tic-tac-toe in the terminal.

Installation

npm install @randombits/hardhat-deployer

Import the plugin in your hardhat.config.js:

require("@randombits/hardhat-deployer");

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

import "@randombits/hardhat-deployer";

Tasks

This plugin adds the deploy task to Hardhat:

Usage: hardhat [GLOBAL OPTIONS] deploy contract

POSITIONAL ARGUMENTS:

  contract	Name of the contract to be deployed 

deploy: Deploys the named contract using the Random Bits Smart Contract Deployer

Configuration

<A description of each extension to the HardhatConfig or to its fields>

This plugin extends the HardhatUserConfig's ProjectPathsUserConfig object with an optional newPath field.

This is an example of how to set it:

module.exports = {
  paths: {
    newPath: "new-path"
  }
};

Usage

<A description of how to use this plugin. How to use the tasks if there are any, etc.>

There are no additional steps you need to take for this plugin to work.

Install it and access ethers through the Hardhat Runtime Environment anywhere you need it (tasks, scripts, tests, etc).

Package Sidebar

Install

npm i @randombits/hardhat-deploy

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.93 kB

Total Files

8

Last publish

Collaborators

  • aj7may