hua
54a7f5dc40
Co-authored-by: root <root@huahua.daoyoucloud.com> Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-authored-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: TomyJan <TomyJan6@gmail.com> Co-authored-by: luliangqiang <2650321653@qq.com> Co-authored-by: yoona <1486343814@qq.com> Co-authored-by: wjh <wwwjh0710@163.com> Reviewed-on: daoyoucloud/tachybase#1408 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: hua <1494133104@qq.com> Co-committed-by: hua <1494133104@qq.com> |
||
---|---|---|
.. | ||
contracts | ||
src | ||
.gitignore | ||
.npmignore | ||
client.d.ts | ||
client.js | ||
contract-addresses.json | ||
deploy.js | ||
hardhat.config.js | ||
package.json | ||
README.md | ||
server.d.ts | ||
server.js |
@tachybase/plugin-blockchain
给文件添加执行权限(第一次要输入这些)
chmod +x start_geth.sh chmod +x compile_contract.sh chmod +x deploy_contract.sh
启动私链
pnpm run geth
编译
pnpm run compile
部署
pnpm run deploy