Skip to content

Latest commit

 

History

History
96 lines (59 loc) · 2.04 KB

README.md

File metadata and controls

96 lines (59 loc) · 2.04 KB

nexus-cli

contribute to Nexus through cli

System Requirements

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

then install Nexus cli

curl https://cli.nexus.xyz/ | sh

Initial Setup

Run the CLI for the first time

You'll be prompted to accept the Terms of Use

for Configuring your Prover ID you have two options

Screenshot 2024-12-09 223715

  1. Link to Web Account (Recommended)

Get your ID from beta.nexus.xyz (it can be found in the left corner of the dashboard )left and then enter it when prompted your CLI contributions will sync with your web account.

Screenshot 2024-12-09 222254

  1. Generate Random ID

Skip the ID prompt a random ID will be generated

If you encounter any error use these steps

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

sudo apt update
sudo apt install rustup
rustup install nightly
rustup default nightly

sudo apt update
sudo apt install -y protobuf-compiler
protoc --version
screen -S nexus
curl https://cli.nexus.xyz/ | sh

stop prover with ctrl + c and then change Prover Id

cd .nexus
nano prover-id

to find your prover id head to https://beta.nexus.xyz/ and then press f12 ( inspect element ) and then Application => Storage => local storage => https://beta.nexus.xyz

then copy the value of flutter.proverId

Screenshot 2024-12-10 194955

Change with your prover-id provided on beta.nexus.xyz

then Rerun it again

curl https://cli.nexus.xyz/ | sh

then detach with Ctl + A + D

If you encounter this error "warning: [email protected]: Failed to run protoc: No such file or directory (os error 2)" Run this command:

sudo apt install -y protobuf-compiler