文件名称:hardhat-ethernal:Ethernal的安全帽插件
文件大小:80KB
文件格式:ZIP
更新时间:2024-04-22 21:41:23
web3 hardhat hardhat-plugin TypeScript
Ethernal的安全帽插件 该插件可让您与同步块,事务和工件 使用它时,不需要使用CLI。 如果您正在寻找有关Ethernal的更详细的文档,请访问: ://doc.tryethernal.com 安装 将hardhat-ethernal添加到package.json ,然后运行npm install或yarn 同步区块和交易 在您的hardhat-config.js文件中,需要插件: require ( 'hardhat-ethernal' ) ; 而已! 块和交易现在将同步。 选项 它可以通过设置来禁用同步ethernalSync以false的对hre对象。 您还可以指定要将块和事务同步到的工作空间(默认为仪表板中使用的最后一个工作空间): extendEnvironment ( ( hre ) => { hre . ethernalSync = true ;
【文件预览】:
hardhat-ethernal-master
----.travis.yml(162B)
----MIGRATION.md(5KB)
----package.json(1KB)
----tslint.json(725B)
----test()
--------helpers.ts(563B)
--------fixture-projects()
----LICENSE(1KB)
----src()
--------Ethernal.ts(11KB)
--------credentials.ts(458B)
--------firebase.ts(2KB)
--------types.ts(854B)
--------config.ts(401B)
--------type-extensions.ts(1KB)
--------index.ts(2KB)
----tsconfig.json(391B)
----.gitignore(909B)
----.mocharc.json(105B)
----README.md(1KB)
----yarn.lock(162KB)
----.editorconfig(200B)