From a767ac5f8dc760c3ef2d8298cae740fa6cc7541d Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Tue, 9 Apr 2024 15:41:24 +0800 Subject: [PATCH] Update 0g.sh --- 0g.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/0g.sh b/0g.sh index 562881c..3c27ba2 100644 --- a/0g.sh +++ b/0g.sh @@ -263,6 +263,12 @@ echo '===进入对应路径:/0g-storage-node/run/log,使用tail -f logs文件 } +# 给自己地址验证者质押 +function delegate_self_validator() { +read -p "请输入质押代币数量: " math +read -p "请输入钱包名称: " wallet_name +evmosd tx staking delegate $(evmosd keys show wallet --bech val -a) ${math}evmos --from $wallet_name --gas=500000 --gas-prices=99999aevmos -y + # 主菜单 function main_menu() { while true; do