hardhat-laika
This plugin integrates Laika with Hardhat. For more information please refer to Introduction to hardhat-laika
What
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.
Installation
npm install hardhat-laika
Import the plugin in your hardhat.config.js
:
require("hardhat-laika");
Or if you are using TypeScript, in your hardhat.config.ts
:
import "hardhat-laika";
Required plugins
This plugin does not require other plugins.
Tasks
This plugin adds the laika-sync task to Hardhat:
npx hardhat laika-sync --contract <contract_name> --address <OPTIONAL contract_address>
Environment extensions
This plugin extends the Hardhat Runtime Environment by adding a laikaSync function to it.
hre.laikaSync(hre, contract, address)
Configuration
This plugin does not require configuration.
Usage
There are no additional steps you need to take for this plugin to work.