A hardhat plugin to handle SolidityX compiler
Hardhat plugin example.
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";
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",
},
}
Special thanks to Saiaman for creating this plugin.