This plugin integrates Laika with Hardhat. For more information please refer to Introduction to hardhat-laika
hardhat-laika helps you sync your compile contract with Laika. So you can make a request without having to write a single line of code.
npm install hardhat-laika
Import the plugin in your
Or if you are using TypeScript, in your
This plugin does not require other plugins.
This plugin adds the laika-sync task to Hardhat:
npx hardhat laika-sync --contract <contract_name> --address <OPTIONAL contract_address>
This plugin extends the Hardhat Runtime Environment by adding a laikaSync function to it.
hre.laikaSync(hre, contract, address)
This plugin does not require configuration.
There are no additional steps you need to take for this plugin to work.