Update ore.sh
This commit is contained in:
parent
c4ea18f0a0
commit
1381cfe2c1
17
ore.sh
17
ore.sh
@ -285,6 +285,21 @@ do
|
|||||||
echo "使用 'screen -r $session_name' 命令重新连接到此会话。"
|
echo "使用 'screen -r $session_name' 命令重新连接到此会话。"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function check_multiple() {
|
||||||
|
# 提示用户同时输入起始和结束编号,用空格分隔
|
||||||
|
echo -n "请输入起始和结束编号,中间用空格分隔比如跑了10个钱包地址,输入1 10即可: "
|
||||||
|
read -a range
|
||||||
|
|
||||||
|
# 获取起始和结束编号
|
||||||
|
start=${range[0]}
|
||||||
|
end=${range[1]}
|
||||||
|
|
||||||
|
# 执行循环
|
||||||
|
for i in $(seq $start $end); do
|
||||||
|
ore --rpc 自己的rpc --keypair ~/.config/solana/id$i.json --priority-fee 1 rewards
|
||||||
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -305,6 +320,7 @@ function main_menu() {
|
|||||||
echo "5. 领取挖矿收益"
|
echo "5. 领取挖矿收益"
|
||||||
echo "6. 查看节点运行情况"
|
echo "6. 查看节点运行情况"
|
||||||
echo "7. 单机多开钱包,需要自行准备json私钥"
|
echo "7. 单机多开钱包,需要自行准备json私钥"
|
||||||
|
echo "8. 单机多开钱包,查看奖励"
|
||||||
read -p "请输入选项(1-7): " OPTION
|
read -p "请输入选项(1-7): " OPTION
|
||||||
|
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
@ -315,6 +331,7 @@ function main_menu() {
|
|||||||
5) claim_rewards ;;
|
5) claim_rewards ;;
|
||||||
6) check_logs ;;
|
6) check_logs ;;
|
||||||
7) multiple ;;
|
7) multiple ;;
|
||||||
|
8) check_multiple ;;
|
||||||
esac
|
esac
|
||||||
echo "按任意键返回主菜单..."
|
echo "按任意键返回主菜单..."
|
||||||
read -n 1
|
read -n 1
|
||||||
|
Loading…
Reference in New Issue
Block a user