hardhat-laika
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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.

/hardhat-laika/

    Package Sidebar

    Install

    npm i hardhat-laika

    Weekly Downloads

    5

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    16.6 kB

    Total Files

    23

    Last publish

    Collaborators

    • nonkung51