小林♪ |China
小林♪ |China|2025年06月27日 20:44
Boundless(@boundless_xyz) 项目 节点挖矿保姆级教学 个人测试完美运行 **重要提醒:** - 推荐使用 Vast 云服务器或本地 Ubuntu 22.04 虚拟机 - **不建议使用 Windows + WSL2**,因为 GPU 兼容性差、易崩溃、难调试 ## 第一部分:环境准备 ### 1. 购买 Vast机器 - 参考教程:https://x.com/YOYOMYOYOA/status/1708092318614708242 - 如有问题请加入 TG 交流群:https://t.me/YOYOZKS ### 2. 系统环境要求 - Ubuntu 22.04 系统 - NVIDIA GPU 支持 ## 第二部分:依赖安装 ### 1. 更新系统并安装基础软件包 ```bash apt update && apt upgrade -y apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev tar clang bsdmainutils ncdu unzip libleveldb-dev libclang-dev ninja-build -y ``` ### 2. 克隆 Boundless 仓库 ```bash git clone https://github.com/boundless-xyz/boundless cd boundless git checkout release-0.10 ``` ### 3. 快速设置 Boundless 依赖项 ```bash bash ./scripts/setup.sh ``` **注意:** 此步骤会重新启动机器安装 NVIDIA 驱动,请耐心等待。重启后继续后续步骤。 ### 4. 安装 Rust ```bash curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh . "HOME/.cargo/env" rustup update ``` ### 5. 安装 rzup ```bash curl -L https://risczero.com/install | bash source ~/.bashrc ``` 验证安装: ```bash rzup --version ``` ### 6. 安装 Rust 工具链 ```bash rzup install ``` ### 7. 安装 RISC Zero CLI 工具 ```bash cargo install --git https://github.com/risc0/risc0 bento-client --bin bento_cli echo 'export PATH="HOME/.cargo/bin:PATH"' >> ~/.bashrc source ~/.bashrc ``` ### 8. 安装 Boundless CLI ```bash cargo install --locked boundless-cli export PATH=PATH:/root/.cargo/bin source ~/.bashrc ``` ### 9. 安装 just ```bash curl -fsSL https://just.systems/install.sh | bash -s -- --to /usr/local/bin ``` 验证安装: ```bash just --version ``` 如果输出类似 `just 1.15.0`,说明安装成功。 ## 第三部分:硬件配置 ### 1. 查看 GPU 信息 ```bash # 查看所有 GPU 的 ID nvidia-smi -L # 查看当前 GPU 实时使用情况 nvidia-smi ``` ### 2. 配置 compose.yml ```bash nano compose.yml ``` 根据您的机器配置修改以下参数: ```yaml x-exec-agent-common: &exec-agent-common <<: *agent-common mem_limit: 4G # 根据您的机器内存调整 cpus: 3 # 根据您的机器 CPU 核心数调整 environment: <<: *base-environment RISC0_KECCAK_PO2: ${RISC0_KECCAK_PO2:-17} entrypoint: /app/agent -t exec --segment-po2 ${SEGMENT_SIZE:-21} ``` ## 第四部分:网络配置 ### 1. 选择网络 Boundless 提供三个网络选择: - Base Mainnet - Base Sepolia - Ethereum Sepolia ### 2. 配置环境变量 ```bash nano .env.eth-sepolia ``` 在文件中添加: ```bash export PRIVATE_KEY="你的私钥" export RPC_URL="你的RPC节点" ``` 让配置生效: ```bash source .env.eth-sepolia ``` ## 第五部分:质押和挖矿 ### 1. 获取测试币 - 测试币领取地址:https://faucet.circle.com ### 2. 质押 USDC ```bash boundless account deposit-stake 10 ``` **注意:** 只有质押后运行节点时才能接到任务。 ### 3. 启动挖矿 #### 运行 Bento ```bash # 启动 just bento # 检查日志 just bento logs ``` #### 运行 Broker ```bash # 启动 just broker # 检查日志 just broker logs ``` ## 完成 现在您已经成功部署了 Boundless Prover 节点,可以在 7 月 8 日开始挖矿了! ## 联系方式 - TG 交流群:https://t.me/YOYOZKS - 后续将提供一键安装脚本
+5
曾提及
分享至:

脉络

热门快讯

APP下载

X

Telegram

Facebook

Reddit

复制链接

热门阅读