Skip to content

Latest commit

Β 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 

Repository files navigation

IntroductionπŸ“”

-----Nexus is a next-generation Layerβ€―1 blockchain designed as a global, verifiable supercomputer for the AI era. It enables decentralized, trustless computation using zero-knowledge proofs via its custom zkVM. Developers and users can contribute compute power and earn rewards. The platform is open-source, EVM-compatible, and built to power scalable AI and smart contract applications.

πŸ‘¨πŸ»β€πŸ’» Nexus Prover Node Guide πŸ‘¨πŸ»β€πŸ’»

Device/System Requirements πŸ’»

  • So Minimun 12GB of memory can we sufficient for running a Nexus Prover node,

  • You can run multiple nodes in a single vps/device: But I wont recommend it cause If u dont have sufficient memory then it can be cause of system crash:❗❗

  • More Memory/RAM = High Cycles/sec

Get your node ID πŸ› 

Install All Require Dependecies

sudo apt-get update && sudo apt-get upgrade -y
sudo apt install curl iptables build-essential git wget lz4 jq make cmake gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev screen ufw -y
  • Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

Check version

rustc --version

Run Your Prover via CLI (Install via Script) πŸ₯

  • Create screen session (Vps Only)
screen -S nexus
  • Install the Cli

curl https://cli.nexus.xyz/ | sh
  • Add nexus to your path
source ~/.bashrc
  • Start Your Prover
nexus-network start --node-id <your-node-id>

Replace <your-node-id> with your actual node id from Get your node ID πŸ› 

Run Your Prover via CLI (Build from source) πŸ₯

  • Create screen session (Vps Only)
screen -S nexus
  • Clone the Repository
git clone https://github.com/nexus-xyz/nexus-cli.git
  • Move & Build the release
cd ~/nexus-cli/clients/cli
cargo build --release

πŸ”ΊIt will take some time here to compile it:

  • Add nexus to your path
source ~/.bashrc
  • Start Your Prover
cargo run -r -- start --node-id <your-node-id>

Replace <your-node-id> with your actual node id from Get your node ID πŸ› 

image

Here we go: You have succussfully run your Nexus prover nodeπŸš€πŸ˜™

Detach & Attach from screen

ctrl A D To Detach from screen

  • Attach with previous screen:

screen -ls to know about the screens:

Attach with this command:

screen -r Screen_Name

  • U can check Memory on your VPS by this command:
free -h

Next Day start command for local PC:

  • Just run the start prover command:
nexus-network start --node-id <your-node-id>

Replace <your-node-id> with your actual node id from Get your node ID πŸ› 

πŸ“ˆ Upgrade to new release {v0.10.16} (Mac/Linux)

If you have followed Run Your Prover via CLI (Install via Script) πŸ₯ then follow these process πŸ‘‡

If You have followed Run Your Prover via CLI (Build from source) πŸ₯ then follow these process πŸ‘‡

  • Move to Directory
cd ~/nexus-cli
  • Pull the latest Release
git fetch --tags
git checkout tags/v0.10.16
  • Build the release
cd ~/nexus-cli/clients/cli
cargo build --release
source ~/.bashrc
  • Start Your prover:
cargo run -r -- start --node-id <your-node-id>

Dont Forget to Replace Your Node-Id

All Set!βœ”οΈ

πŸ‘‰ Join TG for more Updates: https://telegram.me/cryptogg

If U have any issue then open a issue on this repo or Dm me on TG~

πŸ’—Thank You! Happy Coding!πŸ“ˆ

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors