harmonyos2-hardhat-starter-pack:用于在Harmony上部署智能合约的HardhatStarterPack

上传者: 38569203 | 上传时间: 2021-07-01 17:04:16 | 文件大小: 159KB | 文件类型: ZIP
和声2 安全帽入门包 Hardhat Starter Pack 是 Harmony 的 Hardhat 部署堆栈,具有以下特点: 用于智能合约部署的hardhat-deploy部署 用于智能合约代码覆盖率分析的solidity-coverage 用于智能合约静态类型的hardhat-typechain mocha测试 用于eslint 代码格式prettier 起动包预先部署到和谐的localnet , testnet和mainnet网络。 安装 git clone https://github.com/harmony-one/hardhat-starter-pack.git cd hardhat-starter-pack yarn install 修改 .env 并将每个网络的“ ENTER_PRIVATE_KEY_HERE ”替换为您在部署合约时要使用的相应私钥。 用法 汇编 yarn compile 覆盖范围 yarn coverage 部署 安全帽 终端窗口#1: yarn hardhat node 终端窗口#2: yarn void:deploy 和谐本地网 部署到 loca

文件下载

资源详情

[{"title":"( 29 个子文件 159KB ) harmonyos2-hardhat-starter-pack:用于在Harmony上部署智能合约的HardhatStarterPack","children":[{"title":"hardhat-starter-pack-main","children":[{"title":".prettierignore <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":".solhintignore <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"accounts.test.ts <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"testtoken.test.ts <span style='color:#111;'> 507B </span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"settings.json.default <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"extensions.json.default <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"launch.json.default <span style='color:#111;'> 320B </span>","children":null,"spread":false}],"spread":true},{"title":"clean.sh <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"hardhat.config.ts <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"TestToken.sol <span style='color:#111;'> 710B </span>","children":null,"spread":false}],"spread":true},{"title":".setup.js <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"testtoken.ts <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"account.ts <span style='color:#111;'> 339B </span>","children":null,"spread":false}],"spread":false},{"title":"deploy","children":[{"title":"999_post_checks.ts <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"000_deploy_testtoken.ts <span style='color:#111;'> 413B </span>","children":null,"spread":false}],"spread":false},{"title":".solhint.json <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":".env.default <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 383.74KB </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":".prettierrc.js <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":".mocharc.js <span style='color:#111;'> 363B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明