Skip to content

dominant-strategies/quai-hardhat-plugin

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published