/hardhat-4byte-uploader

🗂️ Upload local function selectors to the Ethereum Selector Database 🗃️

Primary LanguageJavaScriptMIT LicenseMIT

This is a fork from solidstate-network/hardhat-4byte-uploader

Signatures uploaded

  • External methods
  • Events
  • Custom errors (treated as methods)

Installation

npm install --save-dev @axieinfinity/hardhat-4byte-uploader
# or
yarn add --dev @axieinfinity/hardhat-4byte-uploader

Usage

Load plugin in Hardhat config:

require('@axieinfinity/hardhat-4byte-uploader');

Run the included Hardhat task manually:

npx hardhat upload-selectors
# or
yarn run hardhat upload-selectors