Update 0g.sh

This commit is contained in:
smeb y 2024-05-09 12:16:23 +08:00 committed by GitHub
parent 80102ece2b
commit 570e358814
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
0g.sh
View File

@ -277,9 +277,9 @@ screen -dmS storage_kv ../target/release/zgs_kv --config config.toml
# 给自己地址验证者质押
function delegate_self_validator() {
read -p "请输入质押代币数量(单位为a0gai,比如你有1个a0gai留点水给自己输入0.9回车就行): " math
read -p "请输入质押代币数量(单位为ua0gai,比如你有1000000个ua0gai留点水给自己输入900000回车就行): " math
read -p "请输入钱包名称: " wallet_name
0gchaind tx staking delegate $(0gchaind keys show $wallet_name --bech val -a) ${math}a0gi --from $wallet_name --gas=auto --gas-adjustment=1.4 -y
0gchaind tx staking delegate $(0gchaind keys show $wallet_name --bech val -a) ${math}ua0gi --from $wallet_name --gas=auto --gas-adjustment=1.4 -y
}