Update ore.sh

This commit is contained in:
smeb y 2024-04-05 16:46:08 +08:00 committed by GitHub
parent ef73c40909
commit 3471a26911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
ore.sh
View File

@ -216,17 +216,6 @@ function check_logs() {
function multiple() {
# 提示用户输入RPC配置地址
read -p "请输入RPC配置地址: " rpc_address
# 用户输入要生成的钱包配置文件数量
read -p "请输入你想要运行的钱包数量: " count
# 提示用户输入私钥
echo "为id${i}.json输入私钥 (格式为包含64个数字的JSON数组):"
read -p "私钥: " private_key
echo "更新系统软件包..."
sudo apt update && sudo apt upgrade -y
echo "安装必要的工具和依赖..."
@ -256,6 +245,16 @@ mkdir -p ~/.config/solana
for (( i=1; i<=count; i++ ))
do
# 提示用户输入RPC配置地址
read -p "请输入RPC配置地址: " rpc_address
# 用户输入要生成的钱包配置文件数量
read -p "请输入你想要运行的钱包数量: " count
# 提示用户输入私钥
echo "为id${i}.json输入私钥 (格式为包含64个数字的JSON数组):"
read -p "私钥: " private_key
# 生成配置文件路径
config_file=~/.config/solana/id${i}.json