Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vpavlin/hardhat-abigen

Tool to generate Go bindings from Hardhat artifacts
https://github.com/vpavlin/hardhat-abigen

abi abigen bindings go go-binding golang hardhat smart solidity

Last synced: 26 days ago
JSON representation

Tool to generate Go bindings from Hardhat artifacts

Awesome Lists containing this project

README

        

# Hardhat Abigen

This tool parses content of Hardhat produced `artifacts` directory, extracts all valid ABIs and generates Go bindings using `abigen`.

It assumes `abigen` commandline tool is installed and available on `$PATH`. You can download `abigen` from https://geth.ethereum.org/downloads/

## Usage

```
./hardhat-abigen [options] [FILE|DIRECTORY]
--bindings
Use Abigen to generate bindings (default: 'true')
--exclude
List of strings to match aginst paths to exclude them from processing (default: '')
--outDir
Destination directory for extracted ABI json files and generated bindings (default: 'output')
```