安装dfx sdk
安装最新版:
sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
安装指定版本:
DFX_VERSION=0.9.3 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
dfx常用指令
identity
1  | dfx identity list #identity 列表  | 
wallet
1  | dfx identity --network ic get-wallet # 获取燃料钱包  | 
deploy
1  | dfx deploy #部署到本地  | 
canister
1  | dfx canister --network ic status --all #获取canister状态  |