git clone https://github.com/ToanBm/nexus-prover.git && cd nexus-prover
chmod +x contract.sh && ./contract.sh
- Create an account at: app.nexus.xyz
- Follow the account linking instructions
- Your contributions will earn NEX Points
- Track your progress on the leaderboard
- Manage all your nodes in one place
docker ps | grep nexus
docker ps -a | grep nexus
systemctl status nexus
sudo systemctl stop nexus
sudo rm -f /etc/systemd/system/nexus.service
sudo systemctl daemon-reload
sudo systemctl reset-failed
rm -rf ~/.nexus
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential pkg-config libssl-dev git-all -y
- Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Add the riscv32i target:
rustup target add riscv32i-unknown-none-elf
- Install Script
curl https://cli.nexus.xyz/ | sh
- Ctrl + C to stop CLI
- Edit prover-ID
nano ~/.nexus/node-id
screen -S nexus
curl https://cli.nexus.xyz/ | sh
- Press Ctrl + A, then D exit
- To check your node
screen -r nexus
sudo dd if=/dev/zero of=/swapfile bs=1M count=10240 status=progress && \
sudo chmod 600 /swapfile && \
sudo mkswap /swapfile && \
sudo swapon /swapfile && \
grep -q '/swapfile' /etc/fstab || echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab && \
sudo sysctl vm.swappiness=10 && \
echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip && \\
unzip -o protoc-25.1-linux-x86_64.zip -d /usr/local bin/protoc && \\
unzip -o protoc-25.1-linux-x86_64.zip -d /usr/local 'include/*' && \\
rm -f protoc-25.1-linux-x86_64.zip