Update ore.sh

This commit is contained in:
smeb y 2024-04-04 11:31:05 +08:00 committed by GitHub
parent 35957355c0
commit 4bc2fa1731
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

5
ore.sh
View File

@ -75,6 +75,11 @@ echo "使用 'screen -r $session_name' 命令重新连接到此会话。"
# 查看节点同步状态 # 查看节点同步状态
# 恢复Solana钱包并开始挖矿 # 恢复Solana钱包并开始挖矿
function export_wallet() { function export_wallet() {
# 更新系统和安装必要的包
echo "更新系统软件包..."
sudo apt update && sudo apt upgrade -y
echo "安装必要的工具和依赖..."
sudo apt install -y curl build-essential jq git libssl-dev pkg-config screen
check_and_install_dependencies check_and_install_dependencies
echo "正在恢复Solana钱包..." echo "正在恢复Solana钱包..."