Nexus Network是一个大规模并行化的证明挖矿网络。它是 Nexus zkVM 的世界级实例化,旨在以每秒一万亿个 CPU 周期的速度运行,前提是它连接了足够的计算能力。Nexus zkVM(零知识虚拟机)是一个模块化、可扩展、开源、高度并行化、验证优化、贡献者友好的 zkVM,用 Rust 编写,专注于性能和安全性。
节点运行指南
1.准备1台服务器(可以从这个教程购买,从购买到配置远程连接图文指南),配置选择第二款就行,占用资源比较高。
2.使用官方脚本安装,使用screen终端安装
),如果执行nexus安装脚本中间出现cargo错误运行:source $HOME/.cargo/env命令,然后重新进入screen,执行安装脚本
sudo apt install build-essential pkg-config libssl-dev git-all protobuf-compiler gcc pkg-config screen screen curl https://cli.nexus.xyz/ | sh
到如图这安装cargo,直接enter就行
返回https://beta.nexus.xyz/网页复制 ID,会让你先保存邮件,按要求在邮箱链接确认。
warning: [email protected]: Failed to run protoc: No such file or directory (os error 2) error: failed to run custom build command for `nexus-network v0.3.7 (/root/.nexus/network-api/clients/cli)` Caused by: process didn't exit successfully: `/root/.nexus/network-api/clients/cli/target/release/build/nexus-network-44e582e8b251de36/build-script-build` (exit status: 1) --- stdout cargo:warning=Failed to run protoc: No such file or directory (os error 2) --- stderr Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } warning: build failed, waiting for other jobs to finish...y
运行下面的命令(分行分别运行)
sudo apt-get update sudo apt-get install -y protobuf-compiler
验证是否安装成功
protoc --version
再重新运行安装命令即可。
2.proverid现在安装的没有出现设置,直接finalshell下方文件管理找到root/.nexus/proverid打开替换你网页浏览器上的即可。替换时候Ctrl C关闭进程,修改好了之后进入screen,再重新运行安装命令即可。
然后按CTRL A +D即可挂在后台。