tachybase_todo/packages/plugins/@tachybase/plugin-blockchain
2024-08-01 17:09:20 +08:00
..
contracts feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
src feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
.gitignore feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
.npmignore feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
client.d.ts feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
client.js feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
contract-addresses.json feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
deploy.js feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
hardhat.config.js feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
package.json chore/alicloud-0801 (#1423) 2024-08-01 17:09:20 +08:00
README.md feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
server.d.ts feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00
server.js feat: blockchain (#1408) 2024-07-31 15:26:28 +08:00

@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