Skip to content

Commit

Permalink
feat: update CLI and README copy (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
dprats authored Dec 13, 2024
1 parent 78281ac commit e12ba3f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ A high-performance command-line interface for contributing proofs to the Nexus n
</figcaption>
</figure>

## The Nexus Network

The [Nexus Network](https://docs.nexus.xyz/network) is a global distributed prover network that unites the world's computers to power a new and better Internet: the Verifiable Internet.

There have been two testnets:

- The first testnet period was in [October 08 to 28 2024](https://blog.nexus.xyz/nexus-launches-worlds-first-open-prover-network/).
- The second testnet period was in [December 9 to 13, 2024](https://blog.nexus.xyz/the-new-nexus-testnet-is-live/).

**Important:** *The Nexus network is currently in devnet. It is important to note that you cannot earn Nexus points. Instead, devnet allows developers to experiment and build with the network. Stay tuned for updates regarding future testnets.*

## Quick Start

```bash
Expand Down
29 changes: 9 additions & 20 deletions public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,15 @@ fi

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://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
while [ ! ${#PROVER_ID} -eq "0" ]; do
if [ ${#PROVER_ID} -eq "28" ]; then
if [ -f "$NEXUS_HOME/prover-id" ]; then
echo Copying $NEXUS_HOME/prover-id to $NEXUS_HOME/prover-id.bak
cp $NEXUS_HOME/prover-id $NEXUS_HOME/prover-id.bak
fi
echo "$PROVER_ID" > $NEXUS_HOME/prover-id
echo Prover id saved to $NEXUS_HOME/prover-id.
break;
else
echo Unable to validate $PROVER_ID. Please make sure the full prover id is copied.
fi
read -p "Prover Id (optional)> " PROVER_ID </dev/tty
done
echo "\n${ORANGE}The Nexus network is currently in devnet. It is important to note that you cannot earn Nexus points.${NC}"
echo "\nInstead, devnet allows developers to experiment and build with the network. Stay tuned for updates regarding future testnets.\n"
read -p "Do you want to continue? (Y/n) " yn </dev/tty
case $yn in
[Nn]* ) exit;;
[Yy]* ) ;;
"" ) ;;
* ) echo "Please answer yes or no."; exit;;
esac
fi

REPO_PATH=$NEXUS_HOME/network-api
Expand Down

0 comments on commit e12ba3f

Please sign in to comment.