Update Artela.sh

This commit is contained in:
smeb y 2024-05-11 10:47:34 +08:00 committed by GitHub
parent ec41c48b37
commit 0dc310c4c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,7 +176,7 @@ function import_wallet() {
# 查询余额
function check_balances() {
read -p "请输入钱包地址: " wallet_address
artelad query bank balances "$wallet_address"
artelad query bank balances "$wallet_address" --node $Artela_RPC_PORT
}
# 查看节点同步状态
@ -189,7 +189,7 @@ function add_validator() {
read -p "请输入您的钱包名称: " wallet_name
read -p "请输入您想设置的验证者的名字: " validator_name
artelad tx staking create-validator \
artelad tx staking create-validator --node $Artela_RPC_PORT \
--amount 1000000uart \
--from $wallet_name \
--commission-rate 0.1 \