# hardhat-function-signatures

> Gets Ethereum function signatures for all contracts

Latest version **0.1.2** (published 2021-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install hardhat-function-signatures
pnpm add hardhat-function-signatures
yarn add hardhat-function-signatures
bun add hardhat-function-signatures
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2021-12-23 |
| First published | 2021-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | echolinq |
| Maintainers | echolinq |
| Keywords | ethereum, smart-contracts, hardhat, hardhat-plugin |

## Links

- npm: https://www.npmjs.com/package/hardhat-function-signatures
- Repository: https://github.com/Echolinq/hardhat-function-signatures
- Homepage: https://github.com/Echolinq/hardhat-function-signatures#readme
- Issues: https://github.com/Echolinq/hardhat-function-signatures/issues
- npm.io page: https://npm.io/package/hardhat-function-signatures

## Recent versions

- 0.1.2 (latest) — 2021-12-23
- 0.1.1 — 2021-12-23

## README

# hardhat-function-signature

Gets the Ethereum encoded function signatures

## What

This plugin get all the encoded function signatures from the solidity contracts
and prints them to the console.

## Installation


```bash
npm install hardhat-function-signatures
```

Import the plugin in your `hardhat.config.js`:

```js
require("hardhat-function-signatures");
```

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

```ts
import "hardhat-function-signatures";
```

## Required plugins

- [@nomiclabs/hardhat-ethers](https://github.com/nomiclabs/hardhat/tree/master/packages/hardhat-ethers)

## Tasks


This plugin adds the function-signatures task to Hardhat:
```
Usage: hardhat [GLOBAL OPTIONS] function-signatures

function-signatures: Get function signatures for Contracts

```

## Example
```
$ hh function-signatures

┌─────────┬───────────────────────┬──────────────┐
│ (index) │     Greeter.json      │  Signature   │
├─────────┼───────────────────────┼──────────────┤
│    0    │       'greet()'       │ '0xcfae3217' │
│    1    │ 'setGreeting(string)' │ '0xa4136862' │
└─────────┴───────────────────────┴──────────────┘

```

---
_Source: https://npm.io/package/hardhat-function-signatures · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
