@solidstate/hardhat-4byte-uploader

Upload local function selectors to the Ethereum Selector Database

Usage no npm install needed!

<script type="module">
  import solidstateHardhat4byteUploader from 'https://cdn.skypack.dev/@solidstate/hardhat-4byte-uploader';
</script>

README

Hardhat 4byte Uploader

Calculate the function selectors found in all local contracts and upload them to the 4byte Directory Ethereum Signature Database.

Installation

yarn add --dev @solidstate/hardhat-4byte-uploader

Usage

Load plugin in Hardhat config:

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

Run the included Hardhat task manually:

yarn run hardhat upload-selectors