# Boundless **Published by:** [kocc](https://paragraph.com/@kocc/) **Published on:** 2025-06-21 **URL:** https://paragraph.com/@kocc/boundless ## Content ✅ 方案 1:用 GitHub Codespaces(官方云开发环境) GitHub 提供免费的 Codespaces(部分用户),它就是一个云端 VS Code + Linux 环境,可运行 CLI。 步骤: 打开 Boundless 仓库 🔗 https://github.com/boundless-xyz/boundless 点右上角 <> Code ➜ 选择 Open with Codespaces ➜ New codespace 在弹出的 Web IDE 中打开 Terminal,依次输入: bash 复制 编辑 git checkout release-0.10 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh source $HOME/.cargo/env curl -L https://risczero.com/install | bash rzup install cargo install --git https://github.com/risc0/risc0 bento-client --bin bento_cli cargo install --locked boundless-cli ⚠️ 缺点:Codespaces 免费额度有限,执行速度可能较慢,不支持 GPU,因此仍然只能跑 Dev,不适合 Prover。 ✅ 方案 2:在 VPS 或本地运行(推荐) 你已经在 VPS 上成功跑通 boundless.sh,这个是最稳定的方法。你可以按上面整理的 Dev 教程继续完成。 ✅ 总结: 方法 支持 CLI 运行 支持 GPU 推荐指数 GitHub 网页 ❌ ❌ 🚫 Codespaces ✅(部分功能) ❌ ⭐⭐⭐ VPS / WSL / 本地终端 ✅ ❌(VPS 默认无 GPU) ⭐⭐⭐⭐⭐ 如果你想我帮你生成一个“在 GitHub Codespaces 上一键启动 Boundless Dev 环境”的 .devcontainer 配置,我也可以直接写好给你,点一下就能跑。 要不要我帮你弄一个? 您说: vps教程呢 ChatGPT 说: 当然可以!下面是为你量身定制的 ✅Boundless Dev VPS 图文教程(无GPU适用),确保你能在 VPS 上成功拿到 Boundless Dev Discord 身份,不需要显卡。 🚀 Boundless Dev 一键部署 & CLI 使用教程(VPS版) ✅ 适用环境:Ubuntu 20.04 / 22.04 VPS 🧠 无需显卡,仅参与 Boundless Dev,不包含 Prover ⏰ 全流程耗时:15-25 分钟 📦 推荐配置:1核+2G+10G 空间即可 ✅ 第一步:连接 VPS 并准备环境 如果你是 root 用户,建议直接操作。 bash 复制 编辑更新系统apt update && apt upgrade -y安装必要工具apt install -y curl git wget unzip build-essential jq pkg-config libssl-dev clang可选:安装 vimapt install -y vim ✅ 第二步:安装 Rust bash 复制 编辑 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source $HOME/.cargo/env ✅ 第三步:安装 RISC Zero 工具链 bash 复制 编辑 curl -L https://risczero.com/install | bash source ~/.bashrc rzup install ⚠️ 如命令未找到,添加到路径: bash 复制 编辑 export PATH="$HOME/.risc0/bin:$PATH" echo 'export PATH="$HOME/.risc0/bin:$PATH"' >> ~/.bashrc source ~/.bashrc ✅ 第四步:安装 Boundless CLI 和 bento-client bash 复制 编辑安装 bento-clientcargo install --git https://github.com/risc0/risc0 bento-client --bin bento_cli安装 boundless-clicargo install --locked boundless-cli添加 cargo 到路径(如未自动加)export PATH="$HOME/.cargo/bin:$PATH" echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc source ~/.bashrc ✅ 第五步:配置 .env 文件 在 ~ 或 boundless 项目目录下创建 .env.eth-sepolia bash 复制 编辑 cd ~ vim .env.eth-sepolia 粘贴以下内容(替换你的私钥与 RPC): dotenv 复制 编辑 PRIVATE_KEY=0x你的私钥 RPC_URL=https://sepolia.infura.io/v3/你的项目ID CHAIN_ID=11155111 然后: bash 复制 编辑 source .env.eth-sepolia ✅ 第六步:领取测试 USDC 打开 https://faucet.circle.com/ 登录 GitHub 账号 输入你的钱包地址,选择网络 Sepolia 点击领取(一天限一次) ✅ 第七步:运行 CLI 命令 测试 CLI 安装: bash 复制 编辑 boundless-cli --help bento-client --version 常见示例(可能因版本不同而不同): bash 复制 编辑 boundless-cli account info boundless-cli tx send-usdc --to 0x123... --amount 1 ✅ 第八步:获取 Dev 身份 只要你完成了交互任务,并确保链上记录生效,Guild 会自动识别并赋予你 Boundless Dev Discord 身份。 去绑定页面刷新查看: 🔗 https://guild.xyz/boundless-xyz 💡 补充建议 安全起见建议使用小号私钥 如果你不确定命令格式,运行: bash 复制 编辑 boundless-cli --help 建议加入官方 Discord 频道获取最新交互任务和更新动态 ## Publication Information - [kocc](https://paragraph.com/@kocc/): Publication homepage - [All Posts](https://paragraph.com/@kocc/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@kocc): Subscribe to updates