在部署的Canister中调用方法
dfx canister call my_counter get(0)dfx canister call my_counter incrementdfx canister call my_counter get(1)dfx canister call my_counter set '(987)' dfx canister call my_counter getdfx canister call my_counter increment dfx canister call my_counter get
Last updated
Was this helpful?