Skip to content

Commit

Permalink
update the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
dprats committed Dec 13, 2024
1 parent a84cbd6 commit 6ac6898
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ NONINTERACTIVE=1 sh

## Prover Id

The CLI will prompt for your web prover id from [testnet](https://beta.nexus.xyz/) or [devnet](https://dev.nexus.xyz/)on startup. It is ok to skip this prompt and a random id will be generated, but you'll be prompted again on startup until your web prover id is entered.
The CLI will prompt for your web prover id from the Nexus testnet or devnet on startup. It is ok to skip this prompt and a random id will be generated, but you'll be prompted again on startup until your web prover id is entered.

The prover id prompt is disabled when NONINTERACTIVE=1 is set. In a server environment,
you can manually overwrite $HOME/.nexus/prover-id with your full prover id.
Expand Down
4 changes: 2 additions & 2 deletions public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PROVER_ID=$(cat $NEXUS_HOME/prover-id 2>/dev/null)
if [ -z "$NONINTERACTIVE" ] && [ "${#PROVER_ID}" -ne "28" ]; then
echo "\nThe Nexus testnet is over, but you can participate in the Nexus devnet."
echo "\nTo like this proving in Nexus devnet to your web prover id..."
echo "\t1. Go to ${GREEN}https://dev.nexus.xyz${NC}"
echo "\t1. Go to ${GREEN}https://beta.nexus.xyz${NC}"
echo "\t2. On the bottom left hand corner, copy the ${ORANGE}prover id${NC}"
echo "\t3. Paste the ${ORANGE}prover id${NC} here. Press Enter to continue.\n"
read -p "Enter your Prover Id (optional)> " PROVER_ID </dev/tty
Expand Down Expand Up @@ -58,4 +58,4 @@ else
fi
(cd $REPO_PATH && git -c advice.detachedHead=false checkout $(git rev-list --tags --max-count=1))

(cd $REPO_PATH/clients/cli && cargo run --release --bin prover -- dev.orchestrator.nexus.xyz)
(cd $REPO_PATH/clients/cli && cargo run --release --bin prover -- beta.orchestrator.nexus.xyz)

0 comments on commit 6ac6898

Please sign in to comment.