Installation (Validator Node)
Automatic Installation
source <(curl -s https://raw.githubusercontent.com/NodersUA/Scripts/main/0g)Manual Installation
Setting up a 0g node
# Install developer packages
sudo apt update && \
sudo apt install curl git jq build-essential gcc unzip wget lz4 -y# Install Go
source <(curl -s https://raw.githubusercontent.com/NodersUA/Scripts/main/system/go)# Set the variables
# Come up with the name of your node and replace it instead <your_moniker>
MONIKER=<your_moniker>
echo 'export MONIKER='$MONIKER >> $HOME/.bash_profile
echo "export OG_CHAIN_ID=zgtendermint_16600-2" >> $HOME/.bash_profile
echo "export OG_PORT=47" >> $HOME/.bash_profile
source $HOME/.bash_profile
# check whether the last command was executedChange ports (Optional)
Last updated