Skip to content

$27M Nexus Prover Node Cli setup using a service file to run 24/7

License

Notifications You must be signed in to change notification settings

uve12/nexus-prover-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

nexus-prover-node

$27.2M Nexus Prover Node Cli setup using a service file to run 24/7

Unlock the Power of Verifiable Computation

Site : Nexus | X : NexusLabs | Docs : Nexus docs

Join Crypto Console Community

Join TG : Crypto Console Telegram

Follow X : Crypto Console Twitter

Subscribe : Crypto Console Youtube

Hardware requirements:

Hardware Minimum Requirement
CPU 6 Cores
RAM 4 GB
Disk 50 GB SSD

VPS Options

VPS 1 is enough for Nexus Prover

💻 Contabo VPS Deals 🚀 Buy with Credit Card/Paypal/Crypto Credit card :

VPS Direct Link Specs
VPS 1 Contabo VPS 1 4 vCPU Cores, 4 GB RAM, 100 GB NVMe or 400 GB SSD, 1 Snapshot, 32 TB Traffic, Unlimited Incoming
VPS 2 Contabo VPS 2 6 vCPU Cores, 16 GB RAM, 200 GB NVMe or 400 GB SSD, 2 Snapshots, 32 TB Traffic, Unlimited Incoming
VPS 3 Contabo VPS 3 8 vCPU Cores, 24 GB RAM, 300 GB NVMe or 1.2 TB SSD, 2 Snapshots, 32 TB Traffic, Unlimited Incoming
VPS 4 Contabo VPS 4 12 vCPU Cores, 48 GB RAM, 400 GB NVMe or 1.6 TB SSD, 3 Snapshots, 32 TB Traffic, Unlimited Incoming

💡 Get started with the perfect VPS for your needs! 🚀


Step 1: Install Dependencies

sudo apt update && sudo apt upgrade
sudo apt install build-essential pkg-config libssl-dev git-all

Step 2: Install Rust(Existing users Skip this process)

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:$PATH"
source ~/.bashrc
rustc --version

Remove existing folder and services

sudo systemctl stop nexus.service
sudo systemctl disable nexus.service
rm -rf nexus-cli

Step 3: Clone Nexus Repository

git clone https://github.com/nexus-xyz/network-api.git "$HOME/nexus-cli"
cd nexus-cli/clients/cli

Install protoc

sudo apt update
sudo apt install -y protobuf-compiler
protoc --version

result should be libprotoc 3.21.5


Step 4: Create Systemd Service File for Nexus Prover

sudo tee /etc/systemd/system/nexus.service <<EOF
[Unit]
Description=Nexus Prover Cli
After=network.target

[Service]
User=$USER
WorkingDirectory=$HOME/nexus-cli/clients/cli
Environment=TERM=dumb
ExecStart=$HOME/.cargo/bin/cargo run --release --bin prover -- beta.orchestrator.nexus.xyz
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target
EOF

Step 5: Reload Systemd, Start, and Enable the Nexus Service

sudo systemctl daemon-reload
sudo systemctl enable nexus.service
sudo systemctl start nexus.service


Step 6: View Nexus Service Logs

journalctl -u nexus.service -fn 50

Step 7: Get Prover ID

cat $HOME/.nexus/prover-id

ProverID Update

Goto : https://beta.nexus.xyz/

Connect and Verify Email, then copy the prover ID (left corner)

Login to VPS

Run

nano $HOME/.nexus/prover-id

Replace the browser proverID then Press CTRL + X, and Press Y and Press Enter.

sudo systemctl restart nexus.service

Check Logs

journalctl -u nexus.service -fn 50

Follow : x.com/cryptoconsol

About

$27M Nexus Prover Node Cli setup using a service file to run 24/7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published