Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vpavlin/hardhat-abigen
- Owner: vpavlin
- License: gpl-3.0
- Created: 2022-07-29T14:21:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T20:13:28.000Z (over 2 years ago)
- Last Synced: 2024-08-09T10:10:22.737Z (3 months ago)
- Topics: abi, abigen, bindings, go, go-binding, golang, hardhat, smart, solidity
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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')
```