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

1.1.0 • Public • Published

hardhat-sync-selectors

Hardhat plugin to sync selectors/signatures with various open registries.

Currently publishes all Events, Errors and Functions to the following directories:

  1. Ethereum Signature Database
  2. OpenChain

Installation

yarn add hardhat-sync-selectors

Import the plugin in your hardhat.config.js:

require("hardhat-sync-selectors");

Or if you are using TypeScript, in your hardhat.config.ts:

import "hardhat-sync-selectors";

Tasks

This plugin adds the following tasks to Hardhat:

  1. sync-selectors
  2. sync-signatures

Both tasks are exactly the same and upload signatures from all your contracts.

yarn hardhat sync-selectors # compiles all contracts and syncs selectors
yarn hardhat sync-selectors --no-compile # skips compiling before syncing selectors

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i hardhat-sync-selectors

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.16 MB

    Total Files

    4

    Last publish

    Collaborators

    • akshatmittal