1.0.3 • Published 4 months ago

quai-hardhat-plugin v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

quai-hardhat-plugin

A hardhat plugin to handle SolidityX compiler

Hardhat plugin example.

Installation

A step-by-step guide on how to install the plugin

npm install quai-hardhat-plugin

Import the plugin in your hardhat.config.js:

require("quai-hardhat-plugin");

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

import "quai-hardhat-plugin";

Configuration

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

This is an example of how to set it:

Add the path in your hardhat.config.js:

module.exports = {
  solidityx: {
    compilerPath: "PATH_TO_SOLC_COMPILER",
  },
};

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

const config: HardhatUserConfig = {
  solidityx: {
    compilerPath: "PATH_TO_SOLC_COMPILER",
  },
}

Acknowledgements

Special thanks to Saiaman for creating this plugin.