1.0.3 • Published 2 years ago
quai-hardhat-plugin v1.0.3
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-pluginImport 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.