Hardhat ABI Exporter – 安全帽ABI出口商区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Hardhat ABI Exporter – 安全帽ABI出口商区块链毕设代写 是一篇很好的国外资料

Hardhat ABI Exporter

Export Solidity contract ABIs on compilation via Hardhat.

Versions of this plugin prior to 2.0.0 were released as buidler-abi-exporter.

Installation

yarn add --dev hardhat-abi-exporter

Usage

Load plugin in Hardhat config:

require('hardhat-abi-exporter');

Add configuration under the abiExporter key:

option description default
path path to ABI export directory (relative to Hardhat root) './abi'
only Array of contracts to include (case sensitive), defaults to all contracts if length is 0 []
except Array of contracts to exclude (case sensitive) []
clear whether to delete old files in path on false
abiExporter: {   path: './data/abi',   only: ['ERC20'],   clear: true, }

The path directory will be created if it does not exist.

The clear option is set to false by default because it represents a destructive action, but should be set to true in most cases.

ABIs files are saved in the format [CONTRACT_NAME].json.

We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Learn more.


Hardhat ABI Exporter

出口坚固性合同可通过安全帽编制。

这个插件在2.0.0之前的版本作为buidler abi exporter发布。

Installation

yarn add --dev hardhat-abi-exporter

Usage

在Hardhat config中加载插件:

require('hardhat-abi-exporter');

在abiExporter键下添加配置:

option description default
path path to ABI export directory (relative to Hardhat root) './abi'
only Array of contracts to include (case sensitive), defaults to all contracts if length is 0 []
except Array of contracts to exclude (case sensitive) []
clear whether to delete old files in path on false
abiExporter: {   path: './data/abi',   only: ['ERC20'],   clear: true, }

如果路径目录不存在,将创建该路径目录。

清除选项默认设置为false,因为它表示破坏性操作,但在大多数情况下应设置为true。

ABIs文件以[CONTRACT_NAME].json格式保存。

我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/18115.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Hardhat ABI Exporter – 安全帽ABI出口商区块链毕设代写

提供最优质的资源集合

立即查看 了解详情