Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

reef-defi/hardhat-reef-chain

Repository files navigation

Hardhat Reef chain plugin

The plugin allows the user to run custom scripts, deploys, ... on the reef chain.

Installation

To start using the plugin run.

yarn build

Create a link to the plugin.

yarn link

Usage

In the new hardhat project link the plugin with.

yarn link hardhat-reef-chain

Don't forget to import the plugin in hardhat.config.js!

require("hardhat-reef-chain");

Run script on Reef chain.

npx hardhat run path/to/script

Users can optionally set the path of the Reef chain, which is used for managing.

npx hardhat run path/to/script --chain path/to/chain

Testing

Running yarn test will run every test located in the test/ folder. They use mocha and chai.

We recommend creating unit tests for your own modules, and integration tests for the interaction of the plugin with Hardhat and its dependencies.

Linting and autoformat

All of Hardhat projects use prettier and tslint.

You can check if your code style is correct by running yarn lint, and fix it with yarn lint:fix.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published