开发软件(操作均在dfx.json所在目录):
1.连上 IC-network (本地运行IC服务 其实是一个replica副本):
dfx start || dfx start --clean
(dfx start --clean命令启动 : 以clean状态启动 会清理掉在后台运行的可能会影响到操作的进程 比如: 其他IC网络)
2.在项目根目录(包含dfx.json的那个文件夹)创建罐 :
dfx canister create --all
3.在罐中构建(编译)代码:
dfx build || dfx build --check
4.在罐中部署代码:
dfx canister install actore_hello(project_name)
5.在命令行中余代码进行交互:
dfx cani

最低0.47元/天 解锁文章
3645

被折叠的 条评论
为什么被折叠?



